Task: Program Execution
Input (English): 5, 9, ['n', '431', 'z', 'F', '2337', '2797', 'h', '6091', '6759']
Output (English): 17984