

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 = input()
if a=='12' or a=='2' or ('1' not in a and '7' not in a and '9' not in a and '2' not in a[0]):
    print('YES')
else:
    print('NO')
    
