Task: Program Execution
Input (English): M 4979 Y 6735 e 269 K E k K 6869 4463 l G 8291 y 5515 i 5377 8863 7595 Y M 2187 9017 3679 s Y 2067 361
Output (English): 13, 4979, 25, 6735, 5, 269, 11, 5, 11, 11, 6869, 4463, 12, 7, 8291, 25, 5515, 9, 5377, 8863, 7595, 25, 13, 2187, 9017, 3679, 19, 25, 2067, 361