| Codeforces Round 1107 (Div. 3) |
|---|
| Finished |
You are given two positive integers $$$x$$$ and $$$y$$$.
You are allowed to perform the following operation any number of times (possibly zero):
Determine whether you can make $$$x$$$ exactly equal to $$$y$$$ using this operation.
The first line of the input contains a single integer $$$t$$$ ($$$1 \le t \le 10^4$$$) — the number of test cases. The description of each test case follows.
The only line of each test case contains two space-separated integers $$$x$$$ and $$$y$$$ ($$$1 \le x, y \le 100$$$).
For each test case, print "YES" if you can make $$$x$$$ exactly equal to $$$y$$$ and "NO" otherwise.
You can output "YES" and "NO" in any case (for example, strings "yEs", "yes" and "Yes" will be recognized as a positive response).
312 26 799 79
YESNONO
For the first test case,
Thus, we can make $$$x = y$$$. Hence, output YES.
For the second test case, it can be shown that it is impossible to make $$$x$$$ equal to $$$y$$$.
| Name |
|---|


