题目描述
Problem Background
"Comrade, are you just constantly saying 'no'? Have you seriously assessed the situation? This is a matter of national survival..."
"Commander, you know I'm not very smart, and I haven't found a quick and correct way to calculate the results. But according to some statistics, if I always answer NO, the probability of being completely correct in a battle is $45\%$."
(Full text available at https://www.luogu.com.cn/discuss/525529)
Problem Description
Fusu has become the chief of staff of the Earth fleet in the Star Wars, but she isn't very smart.
An artificial intelligence has calculated that if Fusu always answers "NO", the probability of her being completely correct in a battle is $x\%$; if she always answers "YES", the probability of her being completely correct is $y\%$.
Note that it is possible that $x + y \neq 100$, because there are situations where she needs to answer both "YES" and "NO", but this probability is not important, as she isn't smart enough to choose between always answering "YES" and always answering "NO".
Fusu naturally hopes that her judgment can be as accurate as possible. If the probability of being correct by always saying "NO" is higher, she will always answer "NO"; if the probability of being correct by always saying "YES" is higher, she will always answer "YES". Now, given these probabilities, please determine whether she should answer YES or NO.
If the correct probabilities for answering "YES" and "NO" are the same, please output "equal probability".
Input Format
The input consists of a single line with two integers, representing $x$ and $y$ as described in the problem.
Output Format
Output a single line with a string:
- If the probability of being correct by answering "YES" is higher, output YES;
- If the probability of being correct by answering "NO" is higher, output NO;
- If both probabilities are the same, output equal probability.
If the output string is YES or NO, the case of the letters does not matter, meaning yes, yeS, yEs, yES, Yes, YeS, YEs, YES are all considered YES, and similarly for NO.
If the output string is equal probability, you must output a strictly lowercase string with spaces, for example, Equal probability would be considered incorrect.
Sample Input and Output
Sample Input #1
45 0
Sample Output #1
nO
Sample Input #2
0 45
Sample Output #2
yEs
Sample Input #3
49 51
Sample Output #3
yeS
Sample Input #4
50 50
Sample Output #4
equal probability
Notes
Data Range and Constraints
For all test cases, it is guaranteed that $0 \leq x, y \leq 100$ and $x + y \leq 100$.
$\textcolor{white}{\texttt{No,commander!}}$
输入格式
见题面 Input 部分
输出格式
见题面 Output 部分