Task: Program Execution
Input (English): 1221 4349 d x 835 8295 Q 6203 T 1841 3235 1739 9835 7145 3321 B k 6465 d 627 Q 8515 w J 1453 J 523 2305 6557 C
Output (English): 1, 2, 5, 6, 8, 10, 11, 12, 13, 14, 15, 18, 20, 22, 25, 27, 28, 29