9320 - String Reverse(I)   

Description

Given a string S, output the reverse of S.

Case 1: |S|<=100
Case 2: |S|<=1000
Case 3: |S|<=10000
Case 4: |S|<=1000000

Input

The input consists of multiple lines. Each line is a string S with length <= 1000000. The number of test case is less than 100.
Each string consists of "a-z", "A-Z", "0-9", "+ - * / ^ %" and " "(spaces).

Output

Output the reverse of S.

Sample Input  Download

Sample Output  Download

Tags




Discuss