------
## 最终结论
```python
from fractions import Fraction

def simplify(x, n):
    fraction_x = Fraction(x)
    fraction_n = Fraction(n)
    result = fraction_x * fraction_n
    return result.denominator == 1
```