Ticket 16134
Problem 1718 -b
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
1
4
6 1 7 4 
Expected Output
NO
Generator Parameters
--c_high 9 --c_low 1 --k_high 4 --k_low 4 --t_high 1 --t_low 1