Ticket 1633
Problem 1651 -b
Submission 149191289
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
19
Expected Output
YES
1 3 9 27 81 243 729 2187 6561 19683 59049 177147 531441 1594323 4782969 14348907 43046721 129140163 387420489
Your Output
NO
Difference
Generator Parameters
--n_cap 1000 --n_high 1000 --n_low 2 --t_cap 100 --t_high 2 --t_low 1 --val_cap 100 --val_high 5 --val_low 1