#t231. 骑车与走路

骑车与走路

Bike or Walk

Problem Description

On the campus of Peking University, getting around without a bicycle is very inconvenient. But in fact, riding a bike is not always faster, because riding always involves finding the bike, unlocking it, parking it, and locking it, which takes some extra time. Suppose the time to find the bike, unlock it, and get on it is 2727 seconds; the time to park and lock it is 2323 seconds; you walk at 1.21.2 metres per second, and ride at 3.03.0 metres per second. For a given distance to run an errand, determine whether riding or walking is faster.

Input Format

One line containing one integer: the distance to travel for one errand, in metres.

Output Format

Output one line. If riding is faster, output Bike; if walking is faster, output Walk; if they take the same time, output All.

Sample Input

120

Sample Output

Bike

Hint

  • Bike time = 27 + distance / 3.0 + 23; walk time = distance / 1.2. Divide by a decimal — do not let integer division make the time come out as 0.
  • Three possible outputs: riding faster, walking faster, or a tie.
  • Check against the sample: 120 → Bike.