

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=int(input())
l=list(map(int,list(str(n))))
if 7 in l or 9 in l or (n>=13 and n<=29) or l[-1]==1 or n==10 or n==11 or (n>=70 and n<=79) or (n>=90):
	print ("NO")
else:
	print ("YES")