e-olymp
Competitions

Programming Principles 1. Week 2. September 9 - 15. PART 1

Decomposition of three digit number

Decompose a given 3-digit number to digits.

Input

One three digit integer (positive or negative).

Output

Print each digit in separate line as shown in example.

Time limit 1 second
Memory limit 128 MiB
Input example #1
198
Output example #1
1
9
8
Input example #2
-232
Output example #2
2
3
2