Task: Program Execution
Input (English): y 2357 M 4211 1867 F k 1571 H d m 5941 l M s x 8497 v w v R 7901 E 6171 g
Output (English): 25, 2357, 13, 4211, 1867, 6, 11, 1571, 8, 4, 13, 5941, 12, 13, 19, 24, 8497, 22, 23, 22, 18, 7901, 5, 6171, 7