Task: Program Execution
Input (English): J 809 9429 M k 2361 2939 F m Q B X 8833 3841 s K v 7719 8557 G X 8955 979 e 3213 d g O 4695 1029 Z f 6933 3083 1999 P 589
Output (English): 2, 3, 6, 7, 13, 14, 18, 19, 22, 23, 25, 29, 30, 33, 34, 35, 37