Task: Program Execution
Input (English): 3, ['Q', '4057', '7145', '9891', 'K', '8017', '8275', '6273']
Output (English): 9891, K, 8017, 8275, 6273