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?
Statement A
A. Neither A nor D were among the first 2.
Statement B
B. Neither B nor C was third or fourth.