【HDU】[5585]Numbers

Problem Description

There is a number N.You should output “YES” if N is a multiple of 2, 3 or 5,otherwise output “NO”.

Input

There are multiple test cases, no more than 1000 cases.
For each case,the line contains a integer N.$(0< N<{10}^{30})$

Output

For each test case,output the answer in a line.

Sample Input

2
3
5
7

Sample Output

YES
YES
YES
NO

Source

BestCoder Round #64 (div.2)