#include using namespace std; int main() { int t; cin >> t; while (t--) { int n; cin >> n; vector a(n); int x = 0; for (int i = 0; i < n; i++) cin >> a[i], x ^= a[i]; if (x == 0) { cout << "Bob" << endl; } else { cout << "Alice" << endl; } } }