#Z13108. 判断一个数能否同时被3和5整除
判断一个数能否同时被3和5整除
Description
Determine whether a number n can be divided by both 3 and 5 simultaneously. If it can, output "YES"; otherwise, output "NO".
Input Format
Input one line containing an integer n. (-1,000,000 < n < 1,000,000)
Output Format
Output one line. If the number can be divided by both 3 and 5 simultaneously, output "YES"; otherwise, output "NO".
15
YES