Reverse stack basic problem

can u see why i am getting wrong answer.

@Sumant123,
If the input is:
3
3
2
1
Original Stack = [ 3 , 2 , 1 ] <-TOP
Reverse Stack = [ 1 , 2 , 3 ] <-TOP
The output should be:
3
2
1
Also, it is suggested that you implement this question using recursion.