Task: Program Execution
Input (English): 6267, 963, x, 5799, 7585, d
Output (English): x, d, 6267, 963, 5799, 7585