Task: Program Execution
Input (English): 5845 m p 91 5137 a X i i i M 6157 R R 6125 N 4643 405 2609 y w 5281 2061 x J 1383 a 685 x 6035 m Q L n 1691 4253 h
Output (English): 5845, 13, 16, 91, 5137, 1, 24, 9, 9, 9, 13, 6157, 18, 18, 6125, 14, 4643, 405, 2609, 25, 23, 5281, 2061, 24, 10, 1383, 1, 685, 24, 6035, 13, 17, 12, 14, 1691, 4253, 8