gahui and sousenkyo 3
Time limit1sMemory limit512 MB
Given preliminary votes p and final votes r, print the character's type (weak, normal, strong, or very strong) based on the ratio p/r.
- Level
Easy1 of 10
- Topics
- Implementation, Math
- Solved
- No attempts yet
Problem
Gahui is watching the annual character election. After the election, the top 16 characters receive large benefits for one year. For that reason, fans vote passionately to get their favorite characters into the top 16. At least one Cinderella appears in every election, a character who reaches the top 16 with an outstanding result.
Election results are announced twice: a preliminary result and a final result. For character :
- Character got votes in the preliminary result.
- Character got votes in the final result.
is defined as . The type of character is determined by the value of .
- If , the type of character is
weak. - If , the type of character is
normal. - If , the type of character is
strong. - If , the type of character is
very strong.
Given the preliminary and final results of character , print the type of character .
Input
The input is one line with two integers and , separated by a space.
Output
Print the type of character .
Constraints
Hint
Who can foresee such an unexpected outcome when the final result deviates significantly from the preliminary result?