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