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.
InputThe only line of input contains a single positive integer n: the number
OutputOutput "YES" if the number is funny, otherwise "NO". (no quotes)
ExamplesInput21Output
NOInput
35Output
YES