Start: Nov, 12, 2017 10:00:00
2017秋Python程序设计基础培训第二次作业
End: Nov, 19, 2017 12:00:00
Time elapsed:
Time remaining:

Problem_ID: F
Result: Accepted
Time: 107ms
Memory: 24300kB
Author: zzzhanghc
In contest: 1122

a=[]
n=int(input())
i=0
while i<n:
    a.append(int(input()))
    i+=1

for k in range(0,n):
    try:
        c=50+int(a[k])/3-int(a[k])/1.2
        if c<0:
            print("Bike")
        elif c>0:
            print("Walk")
        else:
            print("All")
    except EOFError:
        break