#d1801. Rad
Rad
Rad
Problem Description
Define
$$rad(n) = \prod_{\begin{matrix} p \mid n \\ p \in \text{Prime} \end{matrix}} p$$Given an integer , if there exist two positive integers such that and , output YES; otherwise output NO.
Input Format
The first line contains an integer .
Each of the next lines contains one integer .
Output Format
Output YES or NO on each line.
Sample Input
3
4
18
30
Sample Output
YES
YES
NO
Constraints
For all data, and .