#include #include using namespace std; int N,M,A[2<<17]; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); cin>>N>>M; int X=0; for(int i=0;i>A[i]; X^=A[i]/M; A[i]%=M; } if(X!=0) { cout<<"Alice\n"; return 0; } while(true) { long long sum=0; for(int i=0;i