#include #include #include using namespace std; int main() { int t; cin >> t; while (t--) { long long n; cin >> n; int bc = __builtin_popcountll(n); cout << (n == (1LL << bc) - 1 ? "Bob" : "Alice") << endl; } }