Ticket 11389
Problem 1650 -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
12 51 78
Expected Output
51
Generator Parameters
--L_I_OR_R_I_cp 1000000000 --L_I_OR_R_I_high 99 --L_I_OR_R_I_low 1 --ai_high 99 --ai_low 1 --t_high 2 --t_low 1