i am not getting output after reversing stack
just change class name Reverse Stack to Main. code is fine