Ticket 1859
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
47
35
Expected Output
2121212121212121212121212121212
21212121212121212121212
Generator Parameters
--n_cap 1000 --n_high 99 --n_low 1 --t_cap 1000 --t_high 2 --t_low 1