Task: Program Execution
Input (English): 2, 2, ['3301', 'M', '995']
Output (English): M