from collections import Counter t = int(input()) for _ in range(t): n = int(input()) a = list(map(int, input().split())) c = Counter(a) for v in c.values(): if v % 2 == 1: print('Alice') break else: print('Bob')