Task: Program Execution
Input (English): 5871 1249 y X p 2831 u 2285 4163 8907 8259 8345 1589 D y N 1003 8493 b 709 9273 V 3913 5483 P 8705 5187 P B N 4983 S 7791 n M 1179 8205 9511 V Y
Output (English): 5871, 1249, 25, 24, 16, 2831, 21, 2285, 4163, 8907, 8259, 8345, 1589, 4, 25, 14, 1003, 8493, 2, 709, 9273, 22, 3913, 5483, 16, 8705, 5187, 16, 2, 14, 4983, 19, 7791, 14, 13, 1179, 8205, 9511, 22, 25