t = int(input()) for _ in range(t): n = int(input()) if n & 1: print("Bob") else: print("Alice")