Task: Program Execution
Input (English): 3185 w 1013 8495 M 1207 2945 2805 v 9753 3901 7315 6893 L K W w J h c f a o w N y T
Output (English): 3185, 23, 1013, 8495, 13, 1207, 2945, 2805, 22, 9753, 3901, 7315, 6893, 12, 11, 23, 23, 10, 8, 3, 6, 1, 15, 23, 14, 25, 20