#!/usr/bin/python # -*- coding: UTF-8 -*- n=int(raw_input().strip()) for i in range(n): s=int(raw_input().strip()) w=s/1.2 b=s/3.0+50 if w<b: print "Walk" elif w>b: print "Bike" else: print "All"