

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
n=int(input())
li=[2, 3, 4, 5, 12, 30, 31, 35, 43, 46, 52, 64, 86]
if n in li:
    print('YES')
else:
    print('NO')