Task: Program Execution
Input (English): 8281 H 5869 8431 U 9689 M Z 1111 9197 3875 c D 6693 x b 2847 9617 H 5985 E 6957 4309 s 6575 1499 8281 K n 6207 R m 5175 331 y 3325 P p
Output (English): 2, 5, 7, 8, 12, 13, 15, 16, 19, 21, 24, 28, 29, 31, 32, 35, 37, 38