Task: Program Execution
Input (English): 3, 7, ['7161', '8709', 'D', 'g', '8627', '439', '819', 'V', 'Z', '2443', 'm', 'V', '6511', 'C', '5315', 'K', 'j', '6117', '955']
Output (English): 9885