Submit solution
Points:
3
Time limit:
2.0s
Memory limit:
64M
Author:
Problem type
Allowed languages
Java, Python
Given a number, print the individual digits in that number each on a new line.
Input
The input is a single positive integer less than 1 billion.
Output
Starting from the most significant digit, output each digit on a new line.
Sample Input
12
Sample Output
1
2
Comments