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