Ice cream is sold in packs of 3 and 5 scoops. Can exactly k scoops be bought?
A single number k is entered (positive integer).
Output "YES" if it is possible to buy exactly k scoops (not more or fewer); otherwise output "NO".
Input #1
3
Output #1
YES
Input #2
1
Output #2
NO
Sign in to submit your solution and save your progress.