Task: Program Execution
Input (English): 9843, 2361, P, 1025, 4001, D, U, 6143, 5329, x, T, 2595, f, 2575
Output (English): P, D, U, x, T, f, 9843, 2361, 1025, 4001, 6143, 5329, 2595, 2575