Ticket 2201
Problem 1631 -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
10
3 9 7 1 10 2 7 9 2 5 
Expected Output
5
Generator Parameters
--n_cap 200000 --n_high 10 --n_low 5