Task: Program Execution
Input (English): 3, ['2471', 'c', '4397', '1705', 'W', '2955', '5097']
Output (English): 2471, 1705, 5097