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