Task: Program Execution
Input (English): 3, 3, ['y', '6587', 'P', 'b', '1519', 'f', '2075', 'D', '7031', '5625']
Output (English): P