~/algor $ cat problems/if/lift-or-stairs
Lift or stairs
Easy
1000 ms
64 MB
17%
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.
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