Task: Program Execution
Input (English): 1, 3, ['3211', 'n', '4271']
Output (English): 7482