#include using namespace std; #define ll long long #define _test int _TEST; cin>>_TEST; while(_TEST--) int main() { _test { int n; cin>>n; vector a(n); for(auto &e: a) cin>>e; ll int tot = accumulate(a.begin(), a.end(), 0ll); if(n==1 && a[0]>=2) cout<<"Alice\n"; else if(tot%2==1) cout<<"Bob\n"; else { ll int x=0; for(int i=0; i