ll@T,N;string S;bool b;rep(T)rd(N,S),b=S[0]=='O',wt((N<3?b:N&N-1?N&1:!b)?"Alice":"Bob");