Task: Program Execution
Input (English): 6267 V c 3871 P 8547 O 6385 939 4581 w a 9767 y 3441 4361 1921 7793 L P N d R 4999 P 3341 M z 6581
Output (English): 6267, 3871, 8547, 6385, 939, 4581, 9767, 3441, 4361, 1921, 7793, 4999, 3341, 6581