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