401519: GYM100488 F Two Envelopes
Description
Mike has two envelopes. He thought up a random integer in the segment (he could think up every number from the segment with equal probability) and put exactly this amount of roubles into one of the envelopes and the double amount into the second one. Then he suggested Constantine to play the game: Constantine can open one envelope and then either take its contents or take the contents of another envelope, by his choice.
Constantine has opened one of these envelopes and has discovered c roubles there. Should he take another envelope, if he wants to maximize the expected prize?
InputThe only line contains three integers a, b and c (1 ≤ a, b, c ≤ 109), separated by spaces — the bounds of the segment from which Mike thought up his random number and the amount of roubles in the envelope opened by Constantine. It is guaranteed that the situation described by the input is possible.
OutputOutput «Take another envelope», if it's advantageous for Constantine to take another envelope, and «Stay with this envelope», if it's advantageous for him to stay with the one he has already opened.
ExamplesInput3 5 3Output
Take another envelopeInput
4 6 10Output
Stay with this envelope