

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>9 and a<30 and a!=12 ) or (a>70 and a<80) or (a>90 and a<100) or a%10==1 or a%10==7 or a%10==9:
    print("NO")
else:
    print("YES")