Task: Program Execution
Input (English): 6389, U, K, 2189, 6435, 3893, X
Output (English): U, K, X, 6389, 2189, 6435, 3893