Task: Program Execution
Input (English): 1, 4, ['2851', '2941', '7709', '4599', '3197', 'Y', 'F', '403']
Output (English): 2851, 3197