Task: Program Execution
Input (English): 8307 N 9551 8923 U 8435 9031 x b 2737 3133 b 2267 k 3591 O L M 8113 2465 611 i o 5029 x 5713 587 3949 X n 2275 2587 1519 V
Output (English): 8307, 14, 9551, 8923, 21, 8435, 9031, 24, 2, 2737, 3133, 2, 2267, 11, 3591, 15, 12, 13, 8113, 2465, 611, 9, 15, 5029, 24, 5713, 587, 3949, 24, 14, 2275, 2587, 1519, 22