

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())
b1 = [i for i in range(13, 30)]
b2 = [i for i in range(70, 80)]
b3 = [i for i in range(90, 100)]
banned = [1, 7, 9, 10, 11] + [31, 37, 39] + [41, 47, 49] + [51, 57, 59] + [61, 67, 69] + [81, 87, 89] + b1 + b2 + b3
if a in banned:
  print("NO")
else:
  print("YES")