#include using namespace std; int main() { int N,A,k=-2; cin>>N; for(int i=0;i>A; if(A!=1)k=i; } cout<<((N-k)%2?"Alice":"Bob")<