Task: Program Execution
Input (English): 7959 485 9651 r S 3745 P 4505 r 1613 c 7723 7359 101 E i i 4257 5041 1671 6633 p Q u 1679 6485 v 2545 2117
Output (English): 7959, 485, 9651, 18, 19, 3745, 16, 4505, 18, 1613, 3, 7723, 7359, 101, 5, 9, 9, 4257, 5041, 1671, 6633, 16, 17, 21, 1679, 6485, 22, 2545, 2117