Task: Program Execution
Input (English): K 1799 M 3003 6357 3193 e a g R T 5869 t X x K s b 1791 j 6737 8163 B 9451 c b 8961 7831 l 3155 d 5271 2715 5869 F 2727 3599 3391 T
Output (English): 11, 1799, 13, 3003, 6357, 3193, 5, 1, 7, 18, 20, 5869, 20, 24, 24, 11, 19, 2, 1791, 10, 6737, 8163, 2, 9451, 3, 2, 8961, 7831, 12, 3155, 4, 5271, 2715, 5869, 6, 2727, 3599, 3391, 20