Task: Program Execution
Input (English): 1899 M o 6549 1537 n w N D 927 J P 8217 7959 7599 8249 V 7585 7267 8155 i 3565 2755 927 7179 t Z 2259 f 7173 R T 7275 w 9001
Output (English): 1899, 13, 15, 6549, 1537, 14, 23, 14, 4, 927, 10, 16, 8217, 7959, 7599, 8249, 22, 7585, 7267, 8155, 9, 3565, 2755, 927, 7179, 20, 26, 2259, 6, 7173, 18, 20, 7275, 23, 9001