Task: Program Execution
Input (English): q 417 H A C m 4645 a 6175 O 3567 O h 2759 t 745 L 6093 X L 7905 w 1327 c g I Z 3785
Output (English): 17, 417, 8, 1, 3, 13, 4645, 1, 6175, 15, 3567, 15, 8, 2759, 20, 745, 12, 6093, 24, 12, 7905, 23, 1327, 3, 7, 9, 26, 3785