Task: Program Execution
Input (English): 2, 2, ['G', 'z']
Output (English): 0