n=int(input()) for i in range(n): s=int(input()) if s==100: print("All") elif s>100: print("Bike") else: print("Walk")