Task: Program Execution
Input (English): 10, 14, ['9789', 'L', '2981', '4651', '9773', '5823', '4851', 'R', 'w', 'T', 'U', 'E', '7587', 's', 'm', '9775', 'z']
Output (English): 7587