Rock Climbing
View as PDFCapba J. Cloath has scoped out a vertical rock climbing wall with 
 climbing holds positioned on it. The holds are
all in a vertical line, and are numbered from 
 to 
 in order, with 
being the lowest and 
 being the highest. Hold 
 is 
 metres above the ground. Capba wants to figure out
whether or not he can 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  
metres above his current location. Alternatively, he can choose to
perform an extremely physics-defying leap, to a hold no more than 
above him — however, he only has enough energy to do this 
 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 Specification
Line : 
, 
, 
.
Next  lines: Values of 
.
All values are integers.
Output Specification
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 , and from there to hold 
. At
this point, he must perform his one allowable extremely physics-defying
leap to hold 
, as it is more than 
 metres away from his current
location. He can then leap straight to hold 
, because he's that cool.
Comments