EasyRating 800
Reverse With a Stack
Push every character of the word onto a stack, then pop them all to print the word reversed.
Input
One word.
Output
The reversed word.
Sample 1
Input
stack
Output
kcats
Sample 2
Input
a
Output
a
Output appears here