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

Problem_ID: E
Result: Accepted
Time: 122ms
Memory: 21432kB
Author: 13456527579
In contest: 1086

x=str(raw_input())
print chr(ord(x)+32)

#2-6
tcase = int(raw_input().strip())
for case in range(tcase):
	a= map(int, raw_input().strip().split())
	s1=27+23+a[0]/3.0
	s2=a[0]/1.2
	if s1>s2:
		print "Walk"
	elif s1==s2:
		print "All"
	else:
		print "Bike"