Task: Program Execution
Input (English): U r W T U X o 971 5101 X 1829 V 4657 879 5599 8741 M 5989 8557 s 3279 3209 H R 9335 s 2839 g
Output (English): 971, 5101, 1829, 4657, 879, 5599, 8741, 5989, 8557, 3279, 3209, 9335, 2839