Task: Program Execution
Input (English): 1, 5, ['5079', '3703', '8739', '4223', 't', 'f']
Output (English): 21744