Ticket 5524
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
6
Expected Output
4
1 1
2 2
3 4
4 3
Generator Parameters
--n_high 10 --n_low 4