Task: Program Execution
Input (English): 1843 1711 2107 8627 8963 F 8259 H J m F G 7577 4261 N q 4675 T 937 M c 9799 6631 P r 871 5149 7127
Output (English): 1843, 1711, 2107, 8627, 8963, 6, 8259, 8, 10, 13, 6, 7, 7577, 4261, 14, 17, 4675, 20, 937, 13, 3, 9799, 6631, 16, 18, 871, 5149, 7127