Task: Program Execution
Input (English): 1, ['3147', 'n', '2613', '8571']
Output (English): 3147