Problem1696--整数逆序输出

1696: 整数逆序输出

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

Description

编写一个程序,输入一个正整数n ,把该整数的每一位数字反向输出

Input

输入一个正整数 n

Output

反向输出该整数的每一位数字

Sample Input Copy

1234

Sample Output Copy

4 3 2 1

Source/Category