The ABC conjecture (also known as the Oesterlé--Masser conjecture) is a famous conjecture in number theory, first proposed by Joseph Oesterlé and David Masser. It is formally stated as follows:
For every positive real number ε, there are only finitely many positive integer triples (a,b,c) such that
- a and b are relatively prime;
- a+b=c; and
- c>rad(abc)1+ε,
where rad(n)=∏_p∣n p∈Primep is the product of all distinct prime divisors of n.
Shinichi Mochizuki claimed to have proven this conjecture in August 2012. Later, Mochizuki's claimed proof was announced to be published in Publications of the Research Institute for Mathematical Sciences (RIMS), a journal of which Mochizuki is the chief editor.
Spike is a great fan of number theory and wanted to prove the ABC conjecture as well. However, due to his inability, he turned to work on a weaker version of the ABC conjecture, which is formally stated as follows:
Given a positive integer c, determine if there exists positive integers a,b, such that a+b=c and rad(abc)\<c.
Note that in the original ABC conjecture, the positive integers a and b are required to be relatively prime. However, as Spike is solving an easier version of the problem, this requirement is removed.
The first line of input contains one integer T (1≤T≤10), the number of test cases.
The next lines contain description of the t test cases. Each test case contains one line, including an integer c (1≤c≤1018).
For each test case, if there exist two positive integers a,b satisfying a+b=c and rad(abc)\<c, then output yes in a line, otherwise output no instead.
For the first test case, we have 2+2=4 and rad(2×2×4)=2<4.
For the second test case, we have 6+12=18 and rad(6×12×18)=6<18.
For the third test case, there's no solution.