

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 sys import stdin


inp = stdin.readline

n = [int(x) for x in str(inp().strip())]
possible = False
if len(n) == 1:
    if n[0] == 7 or n[0] == 9 or n[0] == 1:
        print("NO")
    else:
        print("YES")
else:
    if n[0] == 2 or n[0] == 7 or n[0] == 9 or n[1] == 7 or n[1] == 9 or n[0] == 1 or n[1] == 1:
        if n[0] == 1 and n[1] == 2:
            print("YES")
        else:
            print("NO")
    else:
        print("YES")