Task: Program Execution
Input (English): 2, 3, ['x', 'E', 'Q']
Output (English): QE