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