Task: Program Execution
Input (English): 8943, n, x, t, I, 5147, 7181, T, 4229, 1957
Output (English): 8943, 5147, 7181, 4229, 1957