Task: Program Execution
Input (English): R 7757 2023 x 4111 2357 6703 2211 7021 I J J 2381 R 4037 c i U k 1441 7747 8079 1563 3837 L 1333 1367 6167 3653 3009 5345 3131 l 705 k I 7879
Output (English): 18, 7757, 2023, 24, 4111, 2357, 6703, 2211, 7021, 9, 10, 10, 2381, 18, 4037, 3, 9, 21, 11, 1441, 7747, 8079, 1563, 3837, 12, 1333, 1367, 6167, 3653, 3009, 5345, 3131, 12, 705, 11, 9, 7879