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
9770 3 9881 6 9970 62 9980 113 9999 688 9998 5550 9997 8280 9996 8855 9972 9440 9956 9747 9945 9901 9703 9954 9381 9988 8616 9997 8030 9998 6859 9998 2846 9996 38 9986 1 9408 0 1129 11 545 47 67 503 23 1732 6 2955 1
JOJ Answer
2955 1 9770 3 9881 6 9970 62 9980 113 9999 688 9998 5550 9997 8280 9996 8855 9972 9440 9956 9747 9945 9901 9703 9954 9381 9988 8616 9997 8030 9998 6859 9998 2846 9996 38 9986 1 9408 0 1129 11 545 47 67 503 23 991 2