题目描述
Background
absi2011's penguin is battling the Boss of the 60th floor in the Tower of Combat Gods.
Oh no, it looks like this round is going to be lost. The penguin has only 4 health left, while the Boss has 392. Wow, what a beautiful move—a continuous strike with the Red Spear, dealing 280, 343 (critical hit), and a finishing move! Bloodlust (4-star, 50% bloodlust), and a complete victory (absi2011's 60-level penguin is anemic, with only 315 health, don't mock it if you've played Happy Combat)!
Problem Description
Don't say it's a coincidence; such finishing moves happen quite often.
Now, suppose the Boss has \( x \) health remaining, and absi2011's penguin has \( y \) health. The maximum damage of the weapon it uses is \( z \). The weapon has a chance to strike consecutively.
He asks you if it's possible to achieve a finishing move (with consecutive strikes). If it is possible, please output Yes first, otherwise output No. If the data he provides is incorrect, please output Wrong Data.
Several scenarios count as wrong data: \( y \leq 0 \) or \( y > 315 \) or \( y \geq x \) or \( x > 1800 \) (as far as we know, there are no Bosses in the Tower of Combat Gods with more than 1800 health) or \( z \geq 1000 \) (even with the Red Spear + Meteor Fist of Tianma + Critical Hit + Afterimage + Weapon Mastery, it seems impossible to reach this) or \( z \leq 100 \) (absi2011 believes that anything less than or equal to 100 doesn't count as a finishing move).
(After outputting Yes) Next, he also wants to know if, after the finishing move (even with the maximum damage), triggering his 3-star Bloodlust / 4-star Bloodlust / 5-star Absorb Star technique could lead to a complete victory. The 3-star Bloodlust heals 33% of the damage (rounded down), the 4-star Bloodlust heals 50% of the damage (rounded down), and the 5-star Absorb Star technique heals 100% of the damage (this one doesn't need rounding down). These calculations should be done separately. If the health exceeds the maximum limit, no further healing occurs.
If the 3-star can achieve it, output Great. If the 4-star can, output Eh.. and OK. If the 5-star can, output Oh.. twice and Yes, If he can get 5-star.
If none of them can, then output three lines of No and the health of his penguin after 4-star Bloodlust.
Note that it's possible to defeat the Boss with a single strike, in which case consecutive strikes and Bloodlust cannot occur. Only the Bloodlust from the strike that defeats the Boss should be calculated.
The Boss is considered defeated if and only if the Boss's health \( \leq 0 \) (actually, \( < 0 \) will be automatically treated as \( = 0 \)).
Input and Output Formats
Input Format
A line with three integers, \( x, y, z \).
Output Format
As described in the problem.
Sample Input and Output
Sample Input #1
392 4 343
Sample Output #1
Yes
Eh..
OK
Sample Input #2
392 1 101
Sample Output #2
No
Notes
Hints
The Boss is considered defeated if and only if the Boss's health \( \leq 0 \) (actually, \( < 0 \) will be automatically treated as \( = 0 \)).
Data Range
For 30% of the data, the result is guaranteed to be Wrong Data, No, or Yes followed by Great.
For another 30% of the data, the result is guaranteed not to be Wrong Data.
For 100% of the data, it is guaranteed that \( -10000 \leq x \leq 10000, -10000 \leq y \leq 10000, -10000 \leq z \leq 10000 \), even if it results in Wrong Data.
Source
Original problem authorized by absi2011.
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分