Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.
Please double check your code to solve this problem and try again.
Your Answer
4 1 16052 4 16 5028 4 22 18864 4 24 6992 4 50 44 4 55 16524 4 63 15672 4 80 4938 4 82 16814 4 89 17838 4 111 3044 4 119 3724 4 141 2390 4 145 10616 4 146 2174 4 181 17612 4 199 8018 166344
JOJ Answer
83172