n=int(input()) while n>0: n=n-1 jl=int(input()) bk=50+jl/3 wk=jl/1.2 if bk>wk: print("Walk") elif bk<wk: print("Bike") else: print("All")