Task: Program Execution
Input (English): U 1951 g 5671 j 4241 v g 6089 j q u 6489 6365 9049 Y 1401 9871 5393 9113 K k q n 7303 o F Q w 6823 8193 m 6789 4449 5155 1731 H
Output (English): 1, 3, 5, 7, 8, 10, 11, 12, 16, 21, 22, 23, 24, 26, 27, 28, 29, 32, 37