

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();print('YNEOS'[n!=' 12'and n[-2]in'1279'or n[-1]in'179'::2])