Task: Program Execution
Input (English): m Z 8265 7847 N 1461 8093 t N H 301 B 613 A 1505 2315 X i M 7821 y x v Q e 2211 9945 R 2611 3473 A
Output (English): 1, 2, 5, 8, 9, 10, 12, 14, 17, 18, 19, 21, 22, 23, 24, 25, 28, 31