1141: 输出整数各位上的数

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:156 Solved:96

Description

输入一个任意正整数(1≤N≤1000000),输出各个数位上的数字,从个位开始。

Input

任意正整数N(1≤N≤1000000)

Output

整数N上各位的数字,每行输出一位,从个位开始。

Sample Input Copy

100

Sample Output Copy

0
0
1