Task: Program Execution
Input (English): 8, 9, ['451', 'J', 'C', 'N', 'o', '2517', '9629', '7741', '8107']
Output (English): 8107, 7741