#define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; typedef vector vi; typedef vector vvi; #define all(c) (c).begin(), (c).end() #define loop(i,a,b) for(ll i=a; iDUMP &operator,(const T&t){if(this->tellp())*this<<", ";*this<>N){ vi v; for(int i=2;i<=N;i++){ int t=0; while(N%i==0){ t++; N/=i; } v.push_back(t); } int x=0; rep(i,v.size()){ x^=v[i]; } puts(x ? "Alice" : "Bob"); } }