package no3460_chocolate_divide_game; import java.util.*; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int t = sc.nextInt(); StringBuilder sb = new StringBuilder(); while(t > 0) { t--; long n = sc.nextLong(); long lose = 1; while(lose < n) { lose = (lose * 2L) + 1; }sb.append(lose != n ? "Alice\n":"Bob\n"); }System.out.println(sb); } }