Task: Program Execution
Input (English): i K 1817 s 35 4533 4647 1285 V 9485 3133 3999 2725 n K c o 7575 C R 7837 L 3885 d 7629 3501 6807 9131 5113 3069 O 6231 4157
Output (English): 1, 2, 4, 9, 14, 15, 16, 17, 19, 20, 22, 24, 31