Task: Program Execution
Input (English): C N 8185 3721 t m h 1239 V 1811 591 m 6931 A 1207 7407 4709 1345 l 2635 5023 9389 w G m 8321 1453 O M 9805
Output (English): 3, 14, 8185, 3721, 20, 13, 8, 1239, 22, 1811, 591, 13, 6931, 1, 1207, 7407, 4709, 1345, 12, 2635, 5023, 9389, 23, 7, 13, 8321, 1453, 15, 13, 9805