1#include<iostream>
2using namespace std;
3void print_each_digit(unsigned long long int x)
4{
5 if(x >= 10)
6 print_each_digit(x / 10);
7
8 int digit = x % 10;
9
10 cout << digit << '\n';
11}
12int main(){
13 unsigned long long int i;
14 cin >> i;
15 print_each_digit(i);
16 return 0;
17}