NAGAY

100000000
100000000
10
10
5 5
5 4
5 3
5 3
5 3
4 9
7 9
1234567 890123456
123456789 12890
99999999999999999 10000007
9999999999999999 10000007
9999999 1007
1007 9999999
999999999 9999999
99999999 9999999
97979797 2345
20 2
20 2
20 3
20 4
20 5
20 6
20 7
20 8
20 9