n=int(input()) for i in range(0,n): s=int(input()) t1=50+s/3.0 t2=s/1.2 if t1<t2: print("Bike") elif t1>t2: print("Walk") else: print("All")