Ticket 6241
Problem 1667 -c
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
14
Expected Output
9
1 4
2 3
3 2
4 1
5 9
6 8
7 7
8 6
9 5
Generator Parameters
--n_high 50 --n_low 1