ll@t; rep(t){ ll@(n,m,b,w),z=0; sortE(n,m); if(n==1){ z=1; }else if(n==2){ z=w&1; }else{ z=w&w<9; } wt(z?"Bob":"Alice"); }