Task: Program Execution
Input (English): 1, 3, ['6581', '2427', 'f', '5291']
Output (English): 9008