

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())
if n==12:
	print("YES")
elif n>0 and n<10:
	if n!=1 and n!=7 and n!=9:
		print("YES")
	else:
		print("NO")
 
elif n>=10 and n<=29:
	print("NO")
elif n>=70 and n<=79:
	print("NO")
elif n>=90 and n<=99:
	print("NO")
else:
	x=list(str(n))
	x[1]=int(x[1])
	if x[1]!=1 and x[1]!=7 and x[1]!=9:
		print("YES")
	else:
		print("NO")