Task: Program Execution
Input (English): 4, ['3159', 'f', '1737', 'J', '2797', '7857', '3577', '8439']
Output (English): 3159, 2797