Task: Program Execution
Input (English): 8, 9, ['2497', '1325', 'm', '8311', 'p', '7391', 'N', '3999', '7543']
Output (English): 3999, 7543