Task: Program Execution
Input (English): 6521 P 3387 r 7457 4719 J 7455 5959 5585 4927 M 2687 2869 5233 J 5573 N c 8653 V 5751 9231 4953 M U 3337 7629 8249
Output (English): 6521, 3387, 7457, 4719, 7455, 5959, 5585, 4927, 2687, 2869, 5233, 5573, 8653, 5751, 9231, 4953, 3337, 7629, 8249