5748: 数字倒序

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:69 Solved:25

Description

  桐桐最近学了递归,很多题目他都想用递归来实现。现在他想将给定的长整型范围内的正整数,将其倒序输出。

Input

  一行,包含一个整数n(n在int范围内)。

Output

  一行,包含一个n的倒序数

Sample Input Copy

123

Sample Output Copy

321

Source/Category