1432: 数字反序(07级)wk

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:41 Solved:18

Description

已知一个数整n(n<10000),请编写函数,将n的各数位的数顺序颠倒一下,组成一个新的数输出。

Input

整数n

Output

反序后的新数

Sample Input Copy

1234

Sample Output Copy

4321