Task: Program Execution
Input (English): 3641 g 7275 1497 1173 6347 a 3553 p 1093 a 1617 4739 Z 9525 U f 4599 9631 r 73 8971 S v x K 709 x
Output (English): 3641, 7, 7275, 1497, 1173, 6347, 1, 3553, 16, 1093, 1, 1617, 4739, 26, 9525, 21, 6, 4599, 9631, 18, 73, 8971, 19, 22, 24, 11, 709, 24