Ticket 16006
Problem 1713 -b
Submission 167302382
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
3
5 4 3 
Expected Output
YES
Your Output
NO
Difference
YESNO
Generator Parameters
--n_high 3 --val_high 5