P1426 Will the Little Fish Be in Danger?

Description

Once, a little fish started swimming to the right along a straight line from point $A$. In the first second, it can swim $7$ meters. Starting from the second second, the distance it swims each second is only $98\%$ of the distance swum in the previous second. An extremely evil hunter has installed a concealed detector at a point $s$ meters to the right of $A$. The detector’s detection range extends $x$ meters to both the left and right. Once the little fish enters the detector’s range, the detector will transmit a signal to the hunter at the end of that second. One second later, the hunter will conduct a capture within the detector’s range. If the little fish is still within this range at that time, it will be in danger. In other words, once the little fish enters the detector’s range, it is still safe if it can swim out of the detector’s range within the next $1$ second. Now, given $s$ and $x$, please determine whether the little fish will be in danger. Output `y` if it is in danger, and `n` if it is not.

Input Format

A single line containing two real numbers separated by a space, representing $s$ and $x$.

Output Format

Output a single line containing `y` or `n` to indicate whether the little fish will be in danger.

Explanation/Hint

#### Constraints For $100\%$ of the testdata, it is guaranteed that $1 \leq s, x \leq 100$, with at most $6$ digits after the decimal point. Translated by ChatGPT 5