Each question is followed by two statements, A and B. Answer each question using the following instructions.
- Choose $1$ if the question can be answered by using statement A alone but not by using B alone.
- Choose $2$ if the question can be answered by using statement B alone but not by using A alone.
- Choose $3$ if the question can be answered by using either statement alone.
- Choose $4$ if the question can be answered by using both the statements together but not by either statement.
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?
- Neither A nor D were among the first $2.$
- Neither B nor C was third or fourth.