Task: Program Execution
Input (English): R 6223 R 1571 945 973 I 1559 7843 Q U S 1511 6115 V 3523 9139 w H 5697 Y Y h B 1505 3599 e 9343 8571
Output (English): 18, 6223, 18, 1571, 945, 973, 9, 1559, 7843, 17, 21, 19, 1511, 6115, 22, 3523, 9139, 23, 8, 5697, 25, 25, 8, 2, 1505, 3599, 5, 9343, 8571