Task: Program Execution
Input (English): 3, 3, ['I', 'n', 'J', 'M', '4777', '4217', '5683', 'q', '1383']
Output (English): J