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: 121ms
Memory: 21432kB
Author: 18758239251
In contest: 1086

#-*- coding:UTF-8 -*-
while True:
	n=int(raw_input())
	if n>0:
		break
for i in range(0,n):
	m=int(raw_input())
	bike=50+m/3.0
	zou=m/1.2

	if bike<zou:
		print "Bike"
	elif bike>zou:
		print "Walk"
	else:
		print "All"