Ticket 5388
Problem 1667 -e
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
17
Expected Output
66841702 66841702 128604334 169779422 882251039 200660738 986101690 452687858 627458047 0 0 0 0 0 0 0 0
Generator Parameters
--n_by_2_high 20 --n_by_2_low 1