A = [8,12,16,18,24,27,28,30] N = int(input()) ans = "NO" for i in range(len(A)): if N%A[i] == 0: ans = "YES" print(ans)