Task: Program Execution
Input (English): 6977 O C 9489 5311 5761 1457 3327 E N 7257 5921 8619 1881 i 3979 t L g c 1527 g 871 y r 1213 h r 265 239 x F 9331 679 X
Output (English): 1, 4, 5, 6, 7, 8, 11, 12, 13, 14, 16, 21, 23, 26, 29, 30, 33, 34