

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
n=int(input())
k=n%10
flag=0
if((k==7 or k==9 or k==1)and flag==0):
    print('NO')
    flag=1
if(n>=10):
    t=n//10
    if((t==2 or (t==1 and k!=2) or t==7 or t==9) and flag==0):
        print ("NO")
        flag=1
    elif(flag==0):
        print ("YES")
elif(flag==0):
    print ("YES")