VanDiana received a math homework in which she has to solve T problems on finding the least common multiple (LCM) of two natural numbers and . To check her work, she wrote a program in C++ that performs the verification and asks you to do the same.
The first line contains a natural number (1 \leq T \leq 200) — the number of problems. The next lines contain the problems themselves. Each problem consists of three natural numbers , , (1 \leq a, b, c \leq 2\times10^{15}), where and are the numbers whose LCM needs to be found, and is the answer given by VanDiana.
For each problem, print YES in a separate line if VanDiana's answer is correct, otherwise print NO.
Example