Task: Program Execution
Input (English): 5, ['4127', '2305', '2275', '7125', '5385', '9653', '7985', 'w', '3553', '3229', '6739', 'N']
Output (English): 4127, 2305, 2275, 7125, 5385