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