Task: Program Execution
Input (English): 3665 4841 217 905 7173 3945 R I 1917 441 8941 U 8001 Z 5665 5537 W 8873 4621 r D 9969 g x 6561 7441 i 97 1231 5571 6749 735 2059 5617 2871 Y r 269
Output (English): 3665, 4841, 217, 905, 7173, 3945, 18, 9, 1917, 441, 8941, 21, 8001, 26, 5665, 5537, 23, 8873, 4621, 18, 4, 9969, 7, 24, 6561, 7441, 9, 97, 1231, 5571, 6749, 735, 2059, 5617, 2871, 25, 18, 269