Q=int(input()) for _ in range(Q): a,b,c,d=map(int,input().split()) if a==b and c*2-1==a and d*2-1==b: print("Bob") else: print("Alice")