Task: Program Execution
Input (English): 7031 9477 i g 5371 s S N W 3919 6193 849 1895 m R X 5953 d W M A r 3743 4025 M S 9005 9533 R 7041 6039 6295 9205 k I x p 2589 a
Output (English): 3, 4, 6, 7, 8, 9, 14, 15, 16, 18, 19, 20, 21, 22, 25, 26, 29, 34, 35, 36, 37, 39