407057: GYM102697 028 Funny Numbers

Memory Limit:256 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:0 Solved:0

Description

028. Funny Numberstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output

You consider a number to be funny if it is divisible by both 5 and 7. Given a number, figure out whether or not it is a funny number.

Input

The only line of input contains a single positive integer n: the number

Output

Output "YES" if the number is funny, otherwise "NO". (no quotes)

ExamplesInput
21
Output
NO
Input
35
Output
YES

加入题单

算法标签: