Task: Program Execution
Input (English): 4, ['8797', '3787', '1807', 'j', '9161', '5019', '1629', 'f']
Output (English): 8797, 9161