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: 94ms
Memory: 24300kB
Author: zzzhangxd
In contest: 1122

n=int(input())
a=[]
while n>0:
    a.append(int(input()))
    n-=1
for i in a:
    walk=i/1.2
    bike=50+i/3.0
    if (walk>bike):
        print("Bike")
    elif(walk==bike):
        print("All")
    else:
        print("Walk")