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

n=int(input())
while n>0:
	m=int(input())
	s=""
	i=1
	t1=0
	t2=0
	while i<=m:
		t1=m/1.2
		t2=m/3.0+27+23
		if t1==t2 :
			s= 'All'
		elif t1>t2:
			s= 'Bike'
		else:
			s= 'Walk'
		i=i+1
	print s
	n=n-1