Task: Program Execution
Input (English): 6, 6, ['W', '349', 'Z', '1957', '6777', 'A', 'F', 'J', '5395']
Output (English): A