Task: Program Execution
Input (English): 2, 3, ['5247', '7039', 'w']
Output (English): 7039, w