t=int(input()) while t>0: t=t-1 n=int(input()) t1=27+23+n/3.0 t2=n/1.2 if t1<t2: print("Bike") elif t1>t2: print("Walk") else: print("All")