Task: Program Execution
Input (English): 3, 10, ['j', 'X', '6459', '6253', 'x', '8521', '7985', '5015', '1401', '3093', 'G', '9103', 'A', '4415', '2977', '2533', '6995', 'p', '9337', '1419']
Output (English): 6459, A