Task: Program Execution
Input (English): 1, 3, ['6291', 'a', 'Q', '2591', '3665', '8247']
Output (English): 6291, 2591