e-olymp
Competitions

December 2 - BMTK Programming School, Small League

The number in reverse order

Write a nonnegative integer n in reverse order.

Input

One nonnegative 64-bit integer.

Output

Print the number in reverse order.

Time limit 1 second
Memory limit 128 MiB
Input example #1
1234
Output example #1
4321
Input example #2
100
Output example #2
001