Ticket 5426
Problem 1668 -e
View hacks & all small testcases

Unable to dry run this testcase?
Try making a new request with small values of n_high, t_high, *_high, etc.


Retry
Input
23
Expected Output
15
1 7
2 6
3 5
4 4
5 3
6 2
7 1
8 15
9 14
10 13
11 12
12 11
13 10
14 9
15 8
Generator Parameters
--n_high 50 --n_low 1