#P286. 【例47.1】 倒序数

【例47.1】 倒序数

Description

Given a non-negative integer, output its reverse. For example, if the input is 123123, the output should be 321321.

Input Format

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

Output Format

Output the reversed number.

Sample

123
321