Task: Program Execution
Input (English): 2, 2, ['7961', '8059', 'N']
Output (English): 8059