Task: Program Execution
Input (English): 2, 2, ['7865', 'E', '6817']
Output (English): E