## Rock Climbing

Capba J. Cloath has scoped out a vertical rock climbing wall with
`N` (1 ≤ `N` ≤ 10^{6}) climbing holds
positioned on it. The holds are all in a vertical line, and are numbered from 1
to `N` in order, with 1 being the lowest and `N` being the
highest. Hold `i` is `H _{i}` (1 ≤

`H`≤ 10

_{i}^{9}) metres above the ground. Capba wants to figure out whether or not he reach the highest hold.

However, since he's so cool, he will do this with no hands.

Starting on the ground, Capba can repeatedly perform a slightly
physics-defying leap to any hold no more than `M` (1 ≤ `M`
≤ 10^{9}) metres above his current location. Alternatively, he can
choose to perform an extremely physics-defying leap, to a hold no more than
2`M` above him — however, he only has enough energy to do this
`E` (0 ≤ `E` ≤ 10^{6}) times throughout the
climb.

Given the layout of the wall and Capba's statistics, determine whether or not he can reach the top hold with a series of leaps.

### Input Format

Line 1: `N`, `M`, `E`.

Next `N` lines: Values of `H`_{1}, ...,
`H _{N}`

All values are integers.

### Output Format

Output "Too easy!" if Capba can reach the highest hold, or "Unfair!" otherwise.

### Sample Input

5 10 1 10 19 30 31 36

### Sample Output

Too easy!

### Explanation

Capba can just barely leap up to hold 1, and from there to hold 2. At this point, he must perform his one allowable extremely physics-defying leap to hold 3, as it is more than 10 metres away from his current location. He can then leap straight to hold 5. Because he's that cool.

All Submissions

Best Solutions

**Point Value:** 5

**Time Limit:** 2.00s

**Memory Limit:** 16M

**Added:** Feb 22, 2011

**Languages Allowed:**

C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3

## Comments (Search)

Kevin123on Aug 28, 2017 - 9:29:07 pm UTC Could any one help me?Cameronon Jul 25, 2017 - 2:04:08 am UTC I can't find my logic error.Xue_Alexon Aug 01, 2017 - 12:07:43 am UTC Re: I can't find my logic error.Ex. if H = 999999999 , and your current height is 3, and your jump is 5. Consider your options from here, based on the details given in the problem statement. You should AC keeping in mind this possibility.

Commando5671on Aug 15, 2014 - 4:09:52 pm UTC Not sure where I'm going wrongAlexon Aug 15, 2014 - 7:00:13 pm UTC Re: Not sure where I'm going wrongRead this. Basically, you should always be using xrange because range is too slow. Also, why are you reading floats when everything is an int?