/* -*- coding: utf-8 -*- * * 3460.cc: No.3460 Chocolate Divide Game - yukicoder */ #include #include using namespace std; /* constant */ /* typedef */ using ll = long long; /* global variables */ /* subroutines */ /* main */ int main() { int tn; scanf("%d", &tn); while (tn--) { ll n; scanf("%lld", &n); n++; while (! (n & 1)) n >>= 1; if (n != 1) puts("Alice"); else puts("Bob"); } return 0; }