Task: Program Execution
Input (English): S 1581 R 8505 1167 6157 4247 f 735 K C k 6425 X L 1233 c 3615 471 5895 Y k P w 329 Q R y 1639 r 5639 R b 8505 s 1515 3011 o s 4469
Output (English): 19, 1581, 18, 8505, 1167, 6157, 4247, 6, 735, 11, 3, 11, 6425, 24, 12, 1233, 3, 3615, 471, 5895, 25, 11, 16, 23, 329, 17, 18, 25, 1639, 18, 5639, 18, 2, 8505, 19, 1515, 3011, 15, 19, 4469