Task: Program Execution
Input (English): Z 2457 e N 7431 b B F L 5271 a X 4457 4985 S y b c g 7827 Z 7611 681 9573 t 4857 8077 3725 8021 4471 k H 7401 4831 q 8921 5125 6449
Output (English): 1, 3, 4, 6, 7, 8, 9, 11, 12, 15, 16, 17, 18, 19, 21, 25, 31, 32, 35