x = int(raw_input()) for i in range(x): s= int(raw_input()) s1=27+23+s/3.0 s2=s/1.2 if s1>s2: print "Walk" elif s1==s2: print "All" else: print "Bike"