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

t=int(input())
while t>0:
    t=t-1
    while True:
        try:
            n=int(input())
            t1=27+23+n/3.0
            t2=n/1.2
            if t1<t2:
                print("Bike")
            elif t1>t2:
                print("Walk")
            else:
                print("All")
        except EOFError:
            break