Hide

Problem D
Viðsnúningur

Languages en is
/problems/vidsnuningur/file/statement/en/img-0001.jpg
Image from Wikipedia
Óskar is trying to learn Hebrew but he finds it hard to adjust to reading from right to left. In order for him to focus on the grammar he had the idea of reversing the text so he could read left to right. But it would take an inordinate amount of time to reverse the entire text. Thus he asked you to write a program for him that reverses text, so he can focus on learning Hebrew.

Input

One line containing $1$ to $1\, 000$ English letters and digits.

Output

Print the line after it has been reversed so Óskar can read it.

Group

Points

Constraints

1

100

No further constraints

Sample Input 1 Sample Output 1
2202annaloksdlahmarfinppekranutirroF
Forritunarkeppniframhaldskolanna2022
Sample Input 2 Sample Output 2
amma
amma