Task: Program Execution
Input (English): c, 8771, t, e, 8875, q
Output (English): c, t, e, q, 8771, 8875