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