Task: Program Execution
Input (English): 2, 9, ['7581', '3161', '8813', '7995', '3787', 'H', 'q', '5525', 'd', '2099', '9515']
Output (English): 29281