Task: Program Execution
Input (English): 2105 1243 1787 r 8105 q 7543 6223 1877 Q 5631 v 6797 599 s 9911 5263 6929 2641 729 n u n 1387 8159 4313 2805 C m W m 6599 3775 4461 5661 9573 y G A
Output (English): 2105, 1243, 1787, 18, 8105, 17, 7543, 6223, 1877, 17, 5631, 22, 6797, 599, 19, 9911, 5263, 6929, 2641, 729, 14, 21, 14, 1387, 8159, 4313, 2805, 3, 13, 23, 13, 6599, 3775, 4461, 5661, 9573, 25, 7, 1