11203: 5.4 反向显示一个整数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:0

Description

编写下面的方法,反向显示一个整数:

   pubilc static void reverse(int number)

例如:reverse(3456)返回643.编写一个测试程序,提示用户输入一个整数,然后显示它的反向数。

Input

输入一个整数n

Output

输出其反向数


Sample Input Copy

3456

Sample Output Copy

6543

HINT

注意负数情况