EasyRating 1000
Lucky Divisor
Lucky numbers use only the digits 4 and 7. Print YES if n is divisible by some lucky number.
Input
One integer n (1 ≤ n ≤ 1000).
Output
YES or NO.
Sample 1
Input
47
Output
YES
Sample 2
Input
16
Output
YES
Output appears here