Task: Program Execution
Input (English): 1, 1, ['G', 'X']
Output (English): G