string solve(vll& A, ll s, ll t){ ll bi = 0; for(auto& a : A) { bi += (a & 1); } bi &= 1; s = (s & 1); s ^= bi; return s == (t & 1) ? "Alice" : "Bob"; }
intmain(){ ios_base::sync_with_stdio(0); cin.tie(0); cout.setf(ios::fixed); cout.precision(8); ll tc; cin >> tc; while(tc--) { ll n, s, t; cin>>n>>s>>t; vll A(n); for(ll i = 0; i < n; i++) cin>>A[i]; cout<<solve(A,s,t)<<endl; }