Task: Program Execution
Input (English): 1147 373 5323 Q 1651 H 4699 w c 4349 7879 Q H 1969 7577 J N 9623 9207 L m 7057 8307 z Q 2467 j 7375 R U
Output (English): 1, 2, 3, 5, 7, 10, 11, 14, 15, 18, 19, 22, 23, 26, 28