Task: Program Execution
Input (English): K 1735 5953 E 3407 2175 X 2887 L i 501 3251 V 2339 g 3215 2331 7701 M 3891 W 9121 7575 4389 1851 x n 4733 v w N U 3067 1477 9441 5823 905
Output (English): 11, 1735, 5953, 5, 3407, 2175, 24, 2887, 12, 9, 501, 3251, 22, 2339, 7, 3215, 2331, 7701, 13, 3891, 23, 9121, 7575, 4389, 1851, 24, 14, 4733, 22, 23, 14, 21, 3067, 1477, 9441, 5823, 905