n=int(raw_input()) for i in range(n): a=int(raw_input()) k1=23+27+a/3.0 k2=a/1.2 if k2>k1: print 'Bike' if k2<k1: print 'Walk' if k2==k1: print 'All'