Reverse a String
Print the given line reversed.
Input
One line of text (letters, digits and spaces).
Output
The reversed line.
Constraints
1 to 1000 characters.
Sample 1
Input
hello
Output
olleh
Sample 2
Input
UPEEC rocks
Output
skcor CEEPU
Print the given line reversed.
One line of text (letters, digits and spaces).
The reversed line.
1 to 1000 characters.
Input
hello
Output
olleh
Input
UPEEC rocks
Output
skcor CEEPU