

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

numWords = ["1","7","9"]

FirstNums = ["1","2","7","9"]

def isKanBan(n):

    if(n == "10" or n == "11"):
        return "NO"
    if(n == "12"):
        return "YES"
    if(len(n) > 1):
        if(n[0] in FirstNums):
            return "NO"
    for el in n:
        if(el in numWords):
            return "NO"
    return "YES"

n = str(input())

print(isKanBan(n))
