Task: Program Execution
Input (English): A 7657 383 B 1011 h c 1081 9769 4413 D 6409 s 295 3947 g 6185 A 1975 C 987 1087 Q u 4211 327 6567 B 8351 B h V 703
Output (English): 1, 4, 6, 7, 11, 13, 16, 18, 20, 23, 24, 28, 30, 31, 32