Task: Program Execution
Input (English): 6, 6, ['X', '3003', '9529', '735', '3507', 'Z', 'L', '6513']
Output (English): Z