Start: Apr, 17, 2017 10:00:00
Python程序设计基础培训第二次作业
End: Apr, 23, 2017 14:00:00
Time elapsed:
Time remaining:

Problem_ID: F
Result: Accepted
Time: 131ms
Memory: 21432kB
Author: 15258500717
In contest: 1086

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
a = int(raw_input().strip())
for i in range(a):
	b= map(int, raw_input().strip().split())
	t1=50+b[0]/3.0
	t2=b[0]/1.2
	if t1>t2:
		print'Walk'
	elif t1==t2:
		print'All'
	elif t1<t2:
		print'Bike'