a=[] n=int(input()) while n!=0: b=int(input()) a.append(b) n-=1 for i in a: x=i/1.2 y=50+i/3 if x>y: print("Bike") elif x<y: print("Walk") else: print("All")