

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
def convert_to_words(num):
    z = []
    l = len(num)
    single_digits = ["zero", "one", "two", "three",
                     "four", "five", "six", "seven",
                     "eight", "nine"]
    two_digits = ["ten", "eleven", "twelve",
                  "thirteen", "fourteen", "fifteen",
                  "sixteen", "seventeen", "eighteen",
                  "nineteen","twenty"]
    tens_multiple = ["", "", "twenty", "thirty", "forty",
                     "fifty", "sixty", "seventy", "eighty",
                     "ninety"]
    tens_power = ["hundred", "thousand"]
    s = 0
    if (l == 1):
        z.append(single_digits[int(num)])
        s = 1
    if int(num)>9 and int(num)<21:
        z.append(two_digits[int(num)-10])
        s = 1
    x = 0
    while (x < len(num) and s!=1):

        if (l >= 3):
            if (ord(num[x]) - 48 != 0):
                z.append(single_digits[ord(num[x]) - 48])
                z.append(tens_power[l - 3])

            l -= 1
 
        else:
 
            if (ord(num[x]) - 48 == 1):
                sum = (ord(num[x]) - 48 +
                       ord(num[x+1]) - 48)
                z.append(two_digits[sum])
 
            elif (ord(num[x]) - 48 == 2 and ord(num[x + 1]) - 48 == 0):
                z.append("twenty")
 
            else:
                i = ord(num[x]) - 48
                if(i > 0):
                    z.append(tens_multiple[i])
                else:
                    z.append("")
                x += 1
                if(ord(num[x]) - 48 != 0):
                    z.append(single_digits[ord(num[x]) - 48])
        x += 1
    l = ["k","a","n"]
    k = 1
    for i in z:
        for j in l:
            if j in i:
                print("NO")
                k = 0
                break
        if k == 0:
            break
    else:
        print("YES")
convert_to_words(input())