Task: Program Execution
Input (English): 8, 8, ['8345', 'm', 'v', 'b', 'x', 'k', '4307', '7641', 'g', '2517', '1017', 'Y', '5081', '3243']
Output (English): 7641