Task: Program Execution
Input (English): 2, ['7671', '9611', '3117', 'n', 'F']
Output (English): 3117, n, F