Task: Program Execution
Input (English): 8221 O v 7245 X L 117 z j 5737 N 6809 2765 1681 Z 5923 3275 K H 4397 H A 6975 1773 Q 6869 1513 6751 3589 583 7269 9499 9971 4775
Output (English): 1, 4, 7, 10, 12, 13, 14, 16, 17, 20, 23, 24, 26, 27, 28, 29, 30, 31, 32, 33, 34