Task: Program Execution
Input (English): 3, 6, ['7285', '8509', 'G', '2017', 'c', 'x', 'V', '8177', 'y', '5893', 'a', 'f', 'J', 'd']
Output (English): 2017