Task: Program Execution
Input (English): 2, 5, ['1989', 'K', '8189', '4665', '6283', 'q', '9613']
Output (English): 6283, 4665, 8189, K