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: 91ms
Memory: 24436kB
Author: qingfengxiyu
In contest: 1122

t=int(input())
while t>0:
    t=t-1
    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")