Task: Program Execution
Input (English): Q 3189 P A 6861 D l y 8061 C a 2655 4931 t 2421 7827 p s 5305 C 8231 O q 361 1003 8329 3725 2953 R 225 6797 c E 5209 p Q
Output (English): 17, 3189, 16, 1, 6861, 4, 12, 25, 8061, 3, 1, 2655, 4931, 20, 2421, 7827, 16, 19, 5305, 3, 8231, 15, 17, 361, 1003, 8329, 3725, 2953, 18, 225, 6797, 3, 5, 5209, 16, 17