Task: Program Execution
Input (English): N 9121 E x 4691 3629 h c A y 789 n t 9245 7931 6071 G 4345 a U 6285 J 9085 J u Z 3593 2873 p 2603 4543 4773 1199 W j 8945 H 2805
Output (English): 14, 9121, 5, 24, 4691, 3629, 8, 3, 1, 25, 789, 14, 20, 9245, 7931, 6071, 7, 4345, 1, 21, 6285, 10, 9085, 10, 21, 26, 3593, 2873, 16, 2603, 4543, 4773, 1199, 23, 10, 8945, 8, 2805