Task: Program Execution
Input (English): 9181 1713 4983 6959 7547 M g 9311 p 5727 R 655 5463 w Z U 469 M 2029 e 5907 z 3085 355 B n 995 T s k 317 q q 3323
Output (English): 9181, 1713, 4983, 6959, 7547, 13, 7, 9311, 16, 5727, 18, 655, 5463, 23, 26, 21, 469, 13, 2029, 5, 5907, 26, 3085, 355, 2, 14, 995, 20, 19, 11, 317, 17, 17, 3323