Task: Program Execution
Input (English): 1985 5421 6031 91 M D U 7557 B 1611 i 2927 K 8301 3327 N 1981 U 4963 X 5601 4215 6447 9133 N 4191 2313 8763 A f 1817 G g 2603 o m W 3725 7123
Output (English): 1985, 5421, 6031, 91, 13, 4, 21, 7557, 2, 1611, 9, 2927, 11, 8301, 3327, 14, 1981, 21, 4963, 24, 5601, 4215, 6447, 9133, 14, 4191, 2313, 8763, 1, 6, 1817, 7, 7, 2603, 15, 13, 23, 3725, 7123