Task: Program Execution
Input (English): 6955 r 2317 s 5089 4263 1293 8273 r B q f 9813 i o S C 3113 1095 417 L D 251 5829 2399 2149 Q 4207
Output (English): 1, 3, 5, 6, 7, 8, 13, 18, 19, 20, 23, 24, 25, 26, 28