#T191. 倒序数

倒序数

Description

Enter a non-negative integer and output its reverse. For example, if the input is 123, the output should be 321.

Input Format

Enter a non-negative integer (guaranteed that the last digit is not zero).

Output Format

Output the reversed number.

123

321