Task: Program Execution
Input (English): 4, ['2965', '2919', '6297', '9087', '1733', '2163', '745', '6071', '9599', '1245', 'a']
Output (English): 2965, 2919, 6297, 9087