Numbers

Time Limit: 2000/1000 MS (Java/Others)

Memory Limit: 65536/65536 K (Java/Others)

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

Hint

hujie

Source

BestCoder Round #64 (div.2)

提交代码