Problem2300--分离整数的各个数

2300: 分离整数的各个数

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 19  Solved: 18
[Status] [Submit] [Creator:]

Description

给定一个整数n(1≤n≤100000000),要求从个位开始分离出它的每一位数字。从个位开始按照从低位到高位的顺序依次输出每一位数字。

Input

输入一个整数,整数在1到100000000之间。

Output

从个位开始按照从低位到高位的顺序依次输出每一位数字。数字之间以一个空格分开。

Sample Input Copy

123

Sample Output Copy

3 2 1

Source/Category