Task: Program Execution
Input (English): D, 1151, 5335, 1919, x
Output (English): D, x, 1151, 5335, 1919