Task: Program Execution
Input (English): 3, ['1705', '7489', 'l', '3807', '3401', 'N']
Output (English): 1705, 3807