Task: Program Execution
Input (English): 3147 9545 923 2397 O 2371 5007 M 6263 v l 4237 2125 y W G 9485 k 6223 5311 3831 m 9827 B V k 3259
Output (English): 3147, 9545, 923, 2397, 15, 2371, 5007, 13, 6263, 22, 12, 4237, 2125, 25, 23, 7, 9485, 11, 6223, 5311, 3831, 13, 9827, 2, 22, 11, 3259