Task: Program Execution
Input (English): M 3973 k 4209 9587 i v Q 6333 B r 3549 2173 i f 581 e G 2813 X 3333 579 e G l j 8931 r 9819 y 6411 j b l 2897 H 2425
Output (English): 13, 3973, 11, 4209, 9587, 9, 22, 17, 6333, 2, 18, 3549, 2173, 9, 6, 581, 5, 7, 2813, 24, 3333, 579, 5, 7, 12, 10, 8931, 18, 9819, 25, 6411, 10, 2, 12, 2897, 8, 2425