Problem1015--倒序输出一个四位整数

1015: 倒序输出一个四位整数

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

Description

  任意读入一个四位整数,颠倒后输出。

Input

  输入一行,只有一个整数x(1000<=x<=9999)。

Output

  输出只有一行,包括1个整数。

Sample Input Copy

1234

Sample Output Copy

4321

Source/Category