Task: Program Execution
Input (English): 3601 M h 5623 517 K O 8933 y 2685 O 4955 O 851 6067 C 2273 5227 3169 3325 T 2381 a w 2215 8853 8567 4151 C
Output (English): 3601, 13, 8, 5623, 517, 11, 15, 8933, 25, 2685, 15, 4955, 15, 851, 6067, 3, 2273, 5227, 3169, 3325, 20, 2381, 1, 23, 2215, 8853, 8567, 4151, 3