Problem2246--【信息学奥赛一本通】倒序数

2246: 【信息学奥赛一本通】倒序数

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

输入一个非负整数,输出这个数的倒序数。例如输入123,输出321。

Input

输入一个非负整数(保证个位不为零)。

Output

输出倒序的数。

Sample Input Copy

123

Sample Output Copy

321

Source/Category

 基础 递归  黄金