Task: Program Execution
Input (English): 5, 8, ['6109', 'c', '6077', 'k', 'V', '9579', 'V', 'z', 'P', '9771', 'X', 'X']
Output (English): 9579