Task: Program Execution
Input (English): 3, 3, ['F', '9795', 'C', '4417', '5379']
Output (English): C