Numbers

Time Limit: 1000ms
Memory Limit: 65536KB
This problem will be judged on HDU. Original ID: 5585
64-bit integer IO format: %I64d      Java class name: Main

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

Language: 
Theme: 
Share Code? 

Powered by NB231 | Current Style: .