import java.util.*;
import java.io.*;
// 注意类名必须为 Main, 不要有任何 package xxx 信息
public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        int t = Integer.parseInt(in.readLine());
        while (t-- > 0) {
            int n = Integer.parseInt(in.readLine());
            // 放中点
            // 之后对称放
            // 马一定攻击不到对称点
            // A 能放置,对称点cA 一定也能放(如果cA和B冲突,A一定和cB冲突)
            // 因此偶数时 先手必败
            // 奇数时 先手放中心 必胜
            if (n % 2 == 0)
                System.out.println("Alice");
            else
                System.out.println("Bob");
        }
    }
}