Task: Program Execution
Input (English): K 7685 2439 f 3807 p 5167 7219 X Q M 1931 7737 633 r 5013 8975 t g 2455 B F Q U 5821 Z Z 7585 e S P 3209 K A 187 E 3923
Output (English): 11, 7685, 2439, 6, 3807, 16, 5167, 7219, 24, 17, 13, 1931, 7737, 633, 18, 5013, 8975, 20, 7, 2455, 2, 6, 17, 21, 5821, 26, 26, 7585, 5, 19, 16, 3209, 11, 1, 187, 5, 3923