odd = "13579" t = int(input()) for i in range(t): n = int(input()) s = input() oo = 0 for i in range(n - 1): if s[i] in odd and s[i+1] in odd: oo = 1 f = 0 if n & 1 == 0: if (s[0] in odd) or (s[-1] in odd): f = 1 if oo: f = 1 else: if ((s[0] in odd) ^ (s[-1] in odd)) and oo == 0: f = 1 print("Alice" if f else "Bob")