Task: Program Execution
Input (English): z, c, Q, but, x
Output (English): zcQbutx