In what concerns the continuous evaluation solving exercises grade during the semester, you should submit until 23:59 of March 3rd
(this exercise will still be available for submission after that deadline, but without couting towards your grade)
[to understand the context of this problem, you should read the class #01 exercise sheet]


[PII005] Digit Separator

Gismo, the cat, really needs your help to understand what are the digits on a number...

The Problem

Write a program that given an integer N with 4 digits, writes each of the 4 digits in separate lines.

Input

The input contains a line with a single 4 digit integer N.

Output

The output should have four lines, each one with a single digit from the number, from the least significant (rightmost digit) to the most significant (leftmost digit).

Constraints

The following limits are guaranteed in all the test cases that will be given to your program:

1000 ≤ N ≤ 9999       Integer with the digits to separate

Example Input 1 Example Output 1
2468
8
6
4
8

Example Input 2 Example Output 2
1725
5
2
7
1

Programming II (CCINF1002)
DCC/FCUP - University of Porto