#include using namespace std; const int sz = 1e5 + 10; vector < int > pr; bitset < sz > fl; void sieve() { for( int i=4; i> g; while( g-- && cin >> n ) { cnt = upper_bound( pr.begin(), pr.end(), n ) - pr.begin(); puts( cnt & 1 ? "Alice" : "Bob" ); } return 0; }