Task: Program Execution
Input (English): 2, ['8841', 'A', 'C', '3407', '5959', '8501', 'N', '6561', '6445', '9141', 'D']
Output (English): 8841, A