Task: Program Execution
Input (English): 3077 U d 7415 m 1495 8173 Q 4079 r 4999 I 4443 1163 6583 3705 6201 B q 2355 s b 3065 p u w 7871 x 5951 q L L 6737 s T 91 1301 y
Output (English): 3077, 21, 4, 7415, 13, 1495, 8173, 17, 4079, 18, 4999, 9, 4443, 1163, 6583, 3705, 6201, 2, 17, 2355, 19, 2, 3065, 16, 21, 23, 7871, 24, 5951, 17, 12, 12, 6737, 19, 20, 91, 1301, 25