#include int main () { int t = 0; int n = 0; int a = 0; int res = 0; res = scanf("%d", &t); while (t > 0) { int acc = 0; res = scanf("%d", &n); while (n > 0) { res = scanf("%d", &a); acc ^= (a+1)/2; n--; } if (acc > 0) { printf("Alice\n"); } else { printf("Bob\n"); } t--; } return 0; }