Task: Program Execution
Input (English): 1, 4, ['3985', 'f', 'f', '5799', 'k']
Output (English): 9784