T = int(input()) for t in range(T): n, s = input().split() n = int(n) print("Alice" if n % 2 else "Bob")