#include <iostream>
using namespace std;

int main() {
    //输入数据
    int t;
    cin >> t;
    //判断谁胜
    for(int i = 0; i < t; i++){
        int n;
        cin >> n;
        if(n % 4 == 0){
            cout << "Bob" << '\n';
        }
        else{
            cout << "Alice" << '\n';
        }
    }
    return 0;
}
// 64 位输出请用 printf("%lld")