游客 Signup | Login
中文 | En

3896 - 5.4 反向显示一个整数

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

   pubilc static void reverse(int number)

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

Input

输入一个整数n

Output

输出其反向数


Examples

Input

3456

Output

6543

Hint

注意负数情况


Hint

注意负数情况


Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题