Task: Program Execution
Input (English): g, g, 9271, D, 9667, x, 117, E, 4013, D, M, Y, 3887, 5931, 273, 5333, Q, 1303, 4517
Output (English): g, g, D, x, E, D, M, Y, Q, 9271, 9667, 117, 4013, 3887, 5931, 273, 5333, 1303, 4517