Task: Program Execution
Input (English): 3151 f Q 4701 p E N 7363 8757 o r 6743 2663 i V 2675 q t K O s p h R m K N 2307 f 2719 M 6249 7 P 23 2669 o g g 3309
Output (English): 1, 4, 8, 9, 12, 13, 16, 28, 30, 32, 33, 35, 36, 40