#T743. 判断一个数能否同时被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 consists of one line containing an integer n. (-1,000,000 < n < 1,000,000)

Output Format

Output one line. If n is divisible by both 3 and 5, output YES; otherwise, output NO.

15
YES
20
NO

Source

CodesOnline