Task: Program Execution
Input (English): 3, 5, ['529', 'F', '6389', '913', 'x', '7907', '2517', '971', 'g', '3939', 'u', 'R', 'd', 't', '9445', '2149']
Output (English): 7302