#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int T; cin >> T; while (T--) { int N; cin >> N; vector A(N); long long S = 0; for (auto& a : A) { cin >> a; S += a; } bool win = (S % 2 == 1); if (A[0] == 1) { win = true; } cout << (win ? "Alice" : "Bob") << '\n'; } return 0; }