Task: Program Execution
Input (English): 2, ['3865', 'a', 'd', '9017', 'O']
Output (English): 3865, a