Base on you code, the first input is the size. 3 is your size, so it is not in your revers list.
If you set your array size is 3, you can only get revers number:
2
1
4
12 <<== this is the size, input the size first.
then, if you type in numbers you like to reverse them: 1 2 ... to 12, as below:
1 2 3 4
5 6 7 8
9 10 11 12