

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
a = int(input())
if a==2 or a==3 or a==5 or a==46 or a==4 or a==12 or a==31 or a==30 or a==35 or a==43 or a==52 or a==64 or a==86:
    print("YES")
else:
    print("NO")