Task: Program Execution
Input (English): 5, 8, ['7961', 'z', '8461', '9847', '7787', '3549', '8193', '4725']
Output (English): 24254