for _ in range(int(input())): print("Alice" if int(input())%2 else "Bob") input()