Problem1849--【信息学奥赛一本通】判断一个数能否同时被3和5整除

1849: 【信息学奥赛一本通】判断一个数能否同时被3和5整除

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

 判断一个数n 能否同时被3和5整除,如果能同时被3和5整除输出YES,否则输出NO。

Input

输入一行,包含一个整数n。( -1,000,000 < n < 1,000,000)

Output

输出一行,如果能同时被3和5整除输出YES,否则输出NO。

Sample Input Copy

15

Sample Output Copy

YES

Source/Category

 基础 控制 if  白银