using System; using System.Collections.Generic; using System.IO; using System.Linq; class Solution { static void Main(String[] args) { int g = Convert.ToInt32(Console.ReadLine()); for(int a0 = 0; a0 < g; a0++){ int n = Convert.ToInt32(Console.ReadLine()); // your code goes here //check how many prime numbers int ctr=0; bool chk = true; for(int i=2; i <=n; i++) { for(int j=2; j <=n; j++) { if(i!=j && i%j ==0) { chk = false; break; } } if(chk) { ctr++; } chk = true; } if((ctr%2 == 0) || n == 1) { Console.WriteLine("Bob"); } else { Console.WriteLine("Alice"); } } } }