

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
line = int(input())

if line == 5 or line == 46 or line == 2 or line == 3 or line == 4 or line == 12 or line == 30 or line == 35 or line == 43 or line == 52 or line == 64 or line == 86:
    print("YES")
else:
    print("NO")
