

Input

The input contains a single integer a (1 ≤ a ≤ 99).

Output

Output "YES" or "NO".

Examples

Input


5


Output


YES


Input


13


Output


NO


Input


24


Output


NO


Input


46


Output


YES

from collections import Counter,defaultdict,deque
#from heapq import *
#import itertools
#from operator import itemgetter
#from itertools import count, islice
#from functools import reduce
#alph = 'abcdefghijklmnopqrstuvwxyz'
#dirs = [[1,0],[0,1],[-1,0],[0,-1]]
#from math import factorial as fact
#a,b = [int(x) for x in input().split()]
#sarr = [x for x in input().strip().split()]
#import math
from math import *
import sys
input=sys.stdin.readline
#sys.setrecursionlimit(2**30)

def rec(a):
    n = len(a)
    if a==sorted(a):
        return n
    return max(rec(a[:n//2]),rec(a[n//2:]))

def solve():
    n = int(input())
    look = {0, 2, 3, 4, 5, 6, 8, 12, 30, 32, 33, 34, 35, 36, 38, 40, 42,
            43, 44, 45, 46, 48, 50, 52,
            53, 54, 55, 56, 58, 60, 62, 63, 64, 65, 66, 68,
            80, 82, 83, 84, 85, 86, 88}
    
    if n in look:
        print('YES')
    else:
        print('NO')
    
    
 
tt = 1#int(input())
for test in range(tt):
    solve()
 
 


 
 
 
 
 
 
 
 
 
 
 
 
#
