Task: Program Execution
Input (English): 1, 1, ['1431', 'i', 'w', '7561', '5943']
Output (English): 1431