Task: Program Execution
Input (English): 3, 3, ['P', '8603', 'Z', '1253']
Output (English): Z