

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 = input()
if n == 12:
    print('YES')
elif 12<n<30 or set(str(n)) & set('179'):
    print('NO')
else:
    print('YES')