Description
在北大校园里,没有自行车,上课办事会很不方便.但实际上,并非去办任何事情都是骑车快,
因为骑车总要找车、开锁、停车、锁车等,这要耽误一些时间.
假设找到自行车,开锁并车上自行车的时间为27秒;
停车锁车的时间为23秒;
步行每秒行走1.2米,
骑车每秒行走3.0米。
请判断走不同的距离去办事,是骑车快还是走路快。
On the campus of UBC, it would be very inconvenient without bicycles. But in fact, bicycle is not always faster way. Because when riding a bicycle, you usally have to find the car, unlock, park, lock the car, etc., which will take some time.
Assuming that the time to find the bicycle, unlock it and get on the bicycle is 27 seconds;
The time to park and lock the bike is 23 seconds;
People walking as 1.2 meters per second,
Cycling 3.0 meters per second.
Please judge to ride a bike or walk whitch way is faster when you travel different distances.
Input
输入一行,包含一个整数,表示一次办事要行走的距离,单位为米。
Enter a line, including an integer, indicating the distance to travel for one time, the unit is meters.
Output
输出一行,如果骑车快,输出一行"Bike";
如果走路快,输出一行"Walk";
如果一样快,输出一行"All"。
Output one line
If the bike is faster, output "Bike";
If walking faster, output "Walk";
If same, output "All".