import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); ArrayList al = new ArrayList(); al.add(2); al.add(3); for(int i=0;i= al.get(al.size()-1)) { if(t != al.get(al.size()-1)) { for(int j=al.get(al.size()-1)+2;j<=t;j=j+2) { if(isPrime(Integer.toUnsignedLong(j))) { al.add(j); } } } if(al.size()%2==1) { System.out.println("Alice"); } else { System.out.println("Bob"); } } else { for(int j=0;j=5) && ((l-1)%6 != 0) && ((l+1)%6 != 0) ) || (l%2 == 0) ) { return false; } else { int n=3; while(n <= Math.sqrt(l.doubleValue())) { if(l % n == 0) { return false; } n = n+2; } return true; } } }