Given a string S, output the reverse of S.
The input consists of many lines. Each line is a string S with length <= 1000. The string S does not contain any spaces.
Output the the reverse of S. One in each line.
Print '\n' at the end of each line.