A string S is given, please output the reverse of S.
Input contains multiple test cases. Each case contains one line with a string S. The string S only consists of A-Z, a-z, 0-9. The length of S is less than or equal to 107. The input is terminated by EOF.
For each test case, output a line with the reverse of S.