Skip to main content
LIVE CONTEST: Round #7 · Begin Marathon is live now! …

~/algor $ cat problems/if/lift-or-stairs

Lift or stairs

Author Iqbolshoh Ilhomjonov 3 @iqbolshoh 650 problems
Easy 1000 ms 64 MB 17%
Share

A person wants to go up from floor of a building to floor . On the stairs, one floor takes seconds. You have to wait seconds for the lift, and then it passes one floor in seconds. So the stairs take seconds and the lift takes seconds. Determine which way is faster.

Floors of a building: stairs on the left, a lift on the right; going from floor 1 to floor n both ways

Input

One line with four integers: , , and .

Output

One word: zinapoya if the stairs are faster, lift if the lift is faster, teng if the times are equal.

Note



Examples

Input #1
10 20 5 30
Output #1
lift
Input #2
3 10 10 0
Output #2
teng

Sign in to submit a solution

Signing up is free and takes a minute.