Ticket 2259
Problem 1647 -a
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
2
5
41
Expected Output
212
212121212121212121212121212
Generator Parameters
--n_cap 1000 --n_high 99 --n_low 1 --t_cap 1000 --t_high 2 --t_low 1