#include using namespace std; int main() { int T; cin>>T; while(T--){ int n; cin>>n; int l=(n/2)+(n%2); if(n==2||l%3==0) cout<<"Alice"<