You are given two integers $$$x$$$ and $$$y$$$ such that $$$y \gt x$$$ and $$$y \bmod x = 0$$$ (that is, $$$y$$$ is divisible by $$$x$$$).
Your task is to determine whether there exists an integer $$$z$$$ such that
Each test contains multiple test cases. The first line contains the number of test cases $$$t$$$ ($$$1 \le t \le 10^4$$$). The description of the test cases follows.
Each test case consists of a single line containing two integers $$$x$$$ and $$$y$$$ ($$$1 \le x \lt y \le 10^{18}$$$; $$$y \bmod x = 0$$$).
For each test case, print the answer as follows: if the required number $$$z$$$ exists, print YES; otherwise, print NO. You may print each letter in any case.
51 21 31234567890 123456789002 87 84
NOYESYESYESYES
In the second test case of the example, you can use $$$z = 2$$$.
In the third test case of the example, you can use $$$z = 7407407340$$$.
| Name |
|---|


