Task: Program Execution
Input (English): 2725 5451 M 7859 Z M n d Q G 3639 5143 b 3291 E L 4179 M 895 7577 9749 H f 1451 6327 2331 2281 7425 t 5213 1575 Z S 1145 465
Output (English): 3, 5, 6, 7, 8, 9, 10, 13, 15, 16, 18, 22, 23, 29, 32, 33