Four friends - A, B, C and D - got the top four ranks in a competitive examination, but A did not get the first, B did not get the second, C did not get the third and D did not get the fourth rank. Who secured which rank?
I. Neither A nor D was among the first two.
II. Neither B nor C was third or fourth.