Task: Program Execution
Input (English): 2, 2, ['c', 'g']
Output (English): g