Task: Program Execution
Input (English): 3, ['A', 'V', 'W', '3207', '1045', '9787', 'V']
Output (English): 3207, 1045, 9787, V