Task: Program Execution
Input (English): 4577, U, 4833, D, x, 1889, l, 6977
Output (English): U, D, x, l, 4577, 4833, 1889, 6977