Task: Program Execution
Input (English): 5, ['2573', '6725', 'p', 'X', '4777', '7505', '8427', '5371', '1583', 'h', '6285', '9069', '9515', 'D', 'u']
Output (English): 2573, 7505, 6285