Task: Program Execution
Input (English): 8415 Y m z N K 1071 6011 F 5671 S 1335 P C O r 4743 m 7441 3525 1547 1633 6659 B 7541 5041 6997 6413 n 6091 4211 287 C 2271 3275 4683 1091 j z 5099
Output (English): 2, 3, 4, 5, 6, 9, 11, 13, 14, 15, 16, 18, 24, 29, 33, 38, 39