Task: Program Execution
Input (English): 6, ['3689', '5255', '4791', '765', '205', 'B', '3611', 'X', 'A', 'k', 't', '4987', 'J', '849', 'V']
Output (English): 3689, 5255, 4791, 765, 205, B