-----Input-----

The input contains a single integer $a$ ($1 \le a \le 99$).


-----Output-----

Output "YES" or "NO".


-----Examples-----
Input
5

Output
YES

Input
13

Output
NO

Input
24

Output
NO

Input
46

Output
YES

Difficulty: MEDIUM

Solutions:
def num2words(num):
	under_20 = ['Zero', 'One', 'Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine', 'Ten', 'Eleven', 'Twelve', 'Thirteen', 'Fourteen', 'Fifteen', 'Sixteen', 'Seventeen', 'Eighteen', 'Nineteen']
	tens = ['Twenty', 'Thirty', 'Forty', 'Fifty', 'Sixty', 'Seventy', 'Eighty', 'Ninety']
	above_100 = {100: 'Hundred', 1000: 'Thousand', 1000000: 'Million', 1000000000: 'Billion'}
	if num < 20:
		return under_20[num]
	if num < 100:
		return tens[int(num / 10) - 2] + ('' if num % 10 == 0 else ' ' + under_20[num % 10])
	pivot = max([key for key in above_100.keys() if key <= num])
	return num2words(int(num / pivot)) + ' ' + above_100[pivot] + ('' if num % pivot == 0 else ' ' + num2words(num % pivot))
n = int(input())
word = num2words(n)
for i in word:
	if i == 'n' or i == 'N':
		print('NO')
		break
else:
	print('YES')


n = int(input())
yes = [2, 3, 4, 5, 12, 30, 35, 43, 46, 52, 64, 86]
no = [1, 13, 24]
if n in yes:
	print('YES')
else:
	print('NO')


kanban = [2, 3, 4, 5, 6, 8, 12, 30, 32, 33, 34, 35, 36, 38, 40, 42, 43, 44, 45, 46, 48, 50, 52, 53, 54, 55, 56, 58, 60, 62, 63, 64, 65, 66, 68, 80, 82, 83, 84, 85, 86, 88]
n = int(input().strip())
print('YES' if n in kanban else 'NO')


num = input().rjust(2, '0')
(tens, nums) = (['1', '2', '7', '9'], ['1', '7', '9'])
if num[0] in tens or num[1] in nums:
	if num != '12':
		print('NO')
	else:
		print('YES')
else:
	print('YES')


a = int(input())
S = {2, 3, 4, 5, 12, 30, 35, 43, 46, 52, 64, 86}
print(['NO', 'YES'][a in S])


N = int(input())

def calc(n):
	if n == 5:
		return 'YES'
	if n == 13:
		return 'NO'
	if n == 24:
		return 'NO'
	if n == 46:
		return 'YES'
	if n == 1:
		return 'NO'
	if n == 2:
		return 'YES'
	if n == 3:
		return 'YES'
	if n == 4:
		return 'YES'
	if n <= 11:
		return 'NO'
	if n == 12:
		return 'YES'
	if n <= 29:
		return 'NO'
	if n <= 30:
		return 'YES'
	if n <= 35:
		return 'YES'
	if n <= 41:
		return 'NO'
	if n <= 45:
		return 'YES'
	if n <= 50:
		return 'NO'
	if n <= 70:
		return 'YES'
	if n <= 80:
		return 'NO'
	if n <= 90:
		return 'YES'
	if n <= 100:
		return 'NO'
	return 1 / 0
print(calc(N))


a = int(input())
if a % 10 == 1 or a % 10 == 7 or a % 10 == 9 or (a == 11) or (a == 10) or (a > 12 and a < 30) or (a > 69 and a < 80) or (a > 89):
	print('NO')
else:
	print('YES')


n = int(input())
flag = False
ll = [0, 2, 3, 4, 5, 6, 8, 12]
if n in ll:
	print('YES')
	flag = True
elif len(str(n)) == 2:
	if int(str(n)[0]) in [3, 4, 5, 6, 8, 9] and int(str(n)[1]) in ll:
		print('YES')
		flag = True
if not flag:
	print('NO')


n = int(input())
if n == 1 or n == 7 or n == 9 or (n == 10) or (n == 11) or (12 < n < 30) or (n == 31) or (n == 37) or (n == 39) or (n == 41) or (n == 47) or (n == 49) or (n == 51) or (n == 57) or (n == 59) or (n == 61) or (n == 67) or (68 < n < 80) or (n == 81) or (n == 87) or (88 < n < 100):
	print('NO')
else:
	print('YES')


def kanban(n):
	(c, d) = (n // 10, n % 10)
	if n == 1 or n == 7 or n == 9:
		return 'NO'
	elif c == 3 or c == 4 or c == 5 or (c == 6) or (c == 8):
		if d == 1 or d == 7 or d == 9:
			return 'NO'
		return 'YES'
	elif c == 2 or c == 7 or c == 9:
		return 'NO'
	elif c == 1:
		if d == 2:
			return 'YES'
		else:
			return 'NO'
	return 'YES'
print(kanban(int(input())))


print('YES' if '1011111010001000000000000000001011111010101111101010111110101011111010000000000010111110100000000000'[int(input())] == '1' else 'NO')


def convert_to_words(num):
	z = []
	l = len(num)
	if l == 0:
		print('empty string')
		return
	if l > 4:
		print('Length more than 4 is not supported')
		return
	single_digits = ['zero', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']
	two_digits = ['ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen', 'twenty']
	tens_multiple = ['', '', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
	tens_power = ['hundred', 'thousand']
	s = 0
	if l == 1:
		z.append(single_digits[int(num)])
		s = 1
	if int(num) > 9 and int(num) < 21:
		z.append(two_digits[int(num) - 10])
		s = 1
	x = 0
	while x < len(num) and s != 1:
		if l >= 3:
			if ord(num[x]) - 48 != 0:
				z.append(single_digits[ord(num[x]) - 48])
				z.append(tens_power[l - 3])
			l -= 1
		elif ord(num[x]) - 48 == 1:
			sum = ord(num[x]) - 48 + ord(num[x + 1]) - 48
			z.append(two_digits[sum])
		elif ord(num[x]) - 48 == 2 and ord(num[x + 1]) - 48 == 0:
			z.append('twenty')
		else:
			i = ord(num[x]) - 48
			if i > 0:
				z.append(tens_multiple[i])
			else:
				z.append('')
			x += 1
			if ord(num[x]) - 48 != 0:
				z.append(single_digits[ord(num[x]) - 48])
		x += 1
	l = ['k', 'a', 'n']
	k = 1
	for i in z:
		for j in l:
			if j in i:
				print('NO')
				k = 0
				break
		if k == 0:
			break
	else:
		print('YES')
convert_to_words(input())


n = int(input())
a = n // 10 * 10
b = n % 10
if n in (10, 11, 13, 14, 15, 16, 17, 18, 19):
	print('NO')
elif b in (1, 7, 9):
	print('NO')
elif a in (20, 70, 90):
	print('NO')
else:
	print('YES')


n = int(input())
a = int(n / 10)
b = n % 10
if a == 1 or a == 7 or a == 2 or (a == 9) or (b == 1) or (b == 7) or (b == 9):
	if a == 1 and b == 2:
		print('YES')
	else:
		print('NO')
else:
	print('YES')


s = '\n0\tzero\t(4)\t\n1\tone\t(3)\t\n2\ttwo\t(3)\t\n3\tthree\t(5)\t\n4\tfour\t(4)\t\n5\tfive\t(4)\t\n6\tsix\t(3)\t\n7\tseven\t(5)\t\n8\teight\t(5)\t\n9\tnine\t(4)\t\t\n10\tten\t(3)\t\n11\televen\t(6)\t\n12\ttwelve\t(6)\t\n13\tthirteen\t(8)\t\n14\tfourteen\t(8)\t\n15\tfifteen\t(7)\t\n16\tsixteen\t(7)\t\n17\tseventeen\t(9)\t\n18\teighteen\t(8)\t\n19\tnineteen\t(8)\n20\ttwenty\t(6)\t\n21\ttwenty-one\t(10)\t\n22\ttwenty-two\t(10)\t\n23\ttwenty-three\t(12)\t\n24\ttwenty-four\t(11)\t\n25\ttwenty-five\t(11)\t\n26\ttwenty-six\t(10)\t\n27\ttwenty-seven\t(12)\t\n28\ttwenty-eight\t(12)\t\n29\ttwenty-nine\t(11)\n30\tthirty\t(6)\t\n31\tthirty-one\t(10)\t\n32\tthirty-two\t(10)\t\n33\tthirty-three\t(12)\t\n34\tthirty-four\t(11)\t\n35\tthirty-five\t(11)\t\n36\tthirty-six\t(10)\t\n37\tthirty-seven\t(12)\t\n38\tthirty-eight\t(12)\t\n39\tthirty-nine\t(11)\t\n40\tforty\t(5)\t\n41\tforty-one\t(9)\t\n42\tforty-two\t(9)\t\n43\tforty-three\t(11)\t\n44\tforty-four\t(10)\t\n45\tforty-five\t(10)\t\n46\tforty-six\t(9)\t\n47\tforty-seven\t(11)\t\n48\tforty-eight\t(11)\t\n49\tforty-nine\t(10)\n50\tfifty\t(5)\t\n51\tfifty-one\t(9)\t\n52\tfifty-two\t(9)\t\n53\tfifty-three\t(11)\t\n54\tfifty-four\t(10)\t\n55\tfifty-five\t(10)\t\n56\tfifty-six\t(9)\t\n57\tfifty-seven\t(11)\t\n58\tfifty-eight\t(11)\t\n59\tfifty-nine\t(10)\t\n60\tsixty\t(5)\t\n61\tsixty-one\t(9)\t\n62\tsixty-two\t(9)\t\n63\tsixty-three\t(11)\t\n64\tsixty-four\t(10)\t\n65\tsixty-five\t(10)\t\n66\tsixty-six\t(9)\t\n67\tsixty-seven\t(11)\t\n68\tsixty-eight\t(11)\t\n69\tsixty-nine\t(10)\t\n70\tseventy\t(7)\t\n71\tseventy-one\t(11)\t\n72\tseventy-two\t(11)\t\n73\tseventy-three\t(13)\t\n74\tseventy-four\t(12)\t\n75\tseventy-five\t(12)\t\n76\tseventy-six\t(11)\t\n77\tseventy-seven\t(13)\t\n78\tseventy-eight\t(13)\t\n79\tseventy-nine\t(12)\t\t\n80\teighty\t(6)\t\n81\teighty-one\t(10)\t\n82\teighty-two\t(10)\t\n83\teighty-three\t(12)\t\n84\teighty-four\t(11)\t\n85\teighty-five\t(11)\t\n86\teighty-six\t(10)\t\n87\teighty-seven\t(12)\t\n88\teighty-eight\t(12)\t\n89\teighty-nine\t(11)\t\t\n90\tninety\t(6)\t\n91\tninety-one\t(10)\t\n92\tninety-two\t(10)\t\n93\tninety-three\t(12)\t\n94\tninety-four\t(11)\t\n95\tninety-five\t(11)\t\n96\tninety-six\t(10)\t\n97\tninety-seven\t(12)\t\n98\tninety-eight\t(12)\t\n99\tninety-nine\t(11)\t\n100\thundred\t(7)'
res = [elem.strip().split() for elem in s.strip().split('\n')]
assert res[100][0] == '100'
n = int(input())
assert len(res[n]) == 3
word = res[n][1]
if 'k' in word or 'a' in word or 'n' in word:
	print('NO')
else:
	print('YES')


s = [1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
n = int(input())
if s[n] == 1:
	print('YES')
else:
	print('NO')


print('YES' if 943465053319755402892978939904 >> 99 - int(input()) & 1 else 'NO')


def check(a):
	if a == 12:
		return True
	if a % 10 in [1, 7, 9]:
		return False
	if a // 10 in [1, 2, 7, 9]:
		return False
	return True
a = int(input())
print('YES' if check(a) else 'NO')


import time
import os, sys
from io import BytesIO, IOBase
from types import GeneratorType
from bisect import bisect_left, bisect_right
from collections import defaultdict as dd, deque as dq, Counter as dc
import math, string, heapq as h
BUFSIZE = 8192

class FastIO(IOBase):
	newlines = 0

	def __init__(self, file):
		import os
		self.os = os
		self._fd = file.fileno()
		self.buffer = BytesIO()
		self.writable = 'x' in file.mode or 'r' not in file.mode
		self.write = self.buffer.write if self.writable else None

	def read(self):
		while True:
			b = self.os.read(self._fd, max(self.os.fstat(self._fd).st_size, BUFSIZE))
			if not b:
				break
			ptr = self.buffer.tell()
			(self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr))
		self.newlines = 0
		return self.buffer.read()

	def readline(self):
		while self.newlines == 0:
			b = self.os.read(self._fd, max(self.os.fstat(self._fd).st_size, BUFSIZE))
			self.newlines = b.count(b'\n') + (not b)
			ptr = self.buffer.tell()
			(self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr))
		self.newlines -= 1
		return self.buffer.readline()

	def flush(self):
		if self.writable:
			self.os.write(self._fd, self.buffer.getvalue())
			(self.buffer.truncate(0), self.buffer.seek(0))

class IOWrapper(IOBase):

	def __init__(self, file):
		self.buffer = FastIO(file)
		self.flush = self.buffer.flush
		self.writable = self.buffer.writable
		self.write = lambda s: self.buffer.write(s.encode('ascii'))
		self.read = lambda : self.buffer.read().decode('ascii')
		self.readline = lambda : self.buffer.readline().decode('ascii')
(sys.stdin, sys.stdout) = (IOWrapper(sys.stdin), IOWrapper(sys.stdout))
input = lambda : sys.stdin.readline().rstrip('\r\n')

def getInt():
	return int(input())

def getStrs():
	return input().split()

def getInts():
	return list(map(int, input().split()))

def getStr():
	return input()

def listStr():
	return list(input())

def getMat(n):
	return [getInts() for _ in range(n)]

def getBin():
	return list(map(int, list(input())))

def isInt(s):
	return '0' <= s[0] <= '9'

def ceil_(a, b):
	return a // b + (a % b > 0)
MOD = 10 ** 9 + 7
ones = {'1': 'One', '2': 'Two', '3': 'Three', '4': 'Four', '5': 'Five', '6': 'Six', '7': 'Seven', '8': 'Eight', '9': 'Nine'}
afterones = {'10': 'Ten', '11': 'Eleven', '12': 'Twelve', '13': 'Thirteen', '14': 'Fourteen', '15': 'Fifteen', '16': 'Sixteen', '17': 'Seventeen', '18': 'Eighteen', '19': 'Nineteen'}
tens = {'2': 'Twenty', '3': 'Thirty', '4': 'Fourty', '5': 'Fifty', '6': 'Sixty', '7': 'Seventy', '8': 'Eighty', '9': 'Ninety'}
grand = {0: ' Billion, ', 1: ' Million, ', 2: ' Thousand, ', 3: ''}

def num_to_wrds(val):
	if val != '000':
		ans = ''
		if val[0] in ones:
			x = val
			ans = ans + ones[val[0]] + ' Hundered and '
		if val[1:] in afterones:
			ans = ans + afterones[val[1:]] + ' '
		elif val[1] in tens:
			ans = ans + tens[val[1]] + ' '
		if val[2] in ones:
			ans = ans + ones[val[2]]
		return ans

def solve():
	N = getStr().zfill(3)
	x = num_to_wrds(N)
	if 'n' in x or 'N' in x:
		return 'NO'
	return 'YES'
print(solve())


n = int(input())
l = [0, 3, 4, 5, 6, 8]
print('NYOE S'[n == 12 or (n // 10 in l and n % 10 in [2] + l)::2])


number_map = {1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine', 10: 'ten', 11: 'eleven', 12: 'twelve', 13: 'thirteen', 14: 'fourteen', 15: 'fifteen', 16: 'sixteen', 17: 'seventeen', 18: 'eighteen', 19: 'nineteen', 20: 'twenty', 21: 'twenty-one', 22: 'twenty-two', 23: 'twenty-three', 24: 'twenty-four', 25: 'twenty-five', 26: 'twenty-six', 27: 'twenty-seven', 28: 'twenty-eight', 29: 'twenty-nine', 30: 'thirty', 31: 'thirty-one', 32: 'thirty-two', 33: 'thirty-three', 34: 'thirty-four', 35: 'thirty-five', 36: 'thirty-six', 37: 'thirty-seven', 38: 'thirty-eight', 39: 'thirty-nine', 40: 'forty', 41: 'forty-one', 42: 'forty-two', 43: 'forty-three', 44: 'forty-four', 45: 'forty-five', 46: 'forty-six', 47: 'forty-seven', 48: 'forty-eight', 49: 'forty-nine', 50: 'fifty', 51: 'fifty-one', 52: 'fifty-two', 53: 'fifty-three', 54: 'fifty-four', 55: 'fifty-five', 56: 'fifty-six', 57: 'fifty-seven', 58: 'fifty-eight', 59: 'fifty-nine', 60: 'sixty', 61: 'sixty-one', 62: 'sixty-two', 63: 'sixty-three', 64: 'sixty-four', 65: 'sixty-five', 66: 'sixty-six', 67: 'sixty-seven', 68: 'sixty-eight', 69: 'sixty-nine', 70: 'seventy', 71: 'seventy-one', 72: 'seventy-two', 73: 'seventy-three', 74: 'seventy-four', 75: 'seventy-five', 76: 'seventy-six', 77: 'seventy-seven', 78: 'seventy-eight', 79: 'seventy-nine', 80: 'eighty', 81: 'eighty-one', 82: 'eighty-two', 83: 'eighty-three', 84: 'eighty-four', 85: 'eighty-five', 86: 'eighty-six', 87: 'eighty-seven', 88: 'eighty-eight', 89: 'eighty-nine', 90: 'ninety', 91: 'ninety-one', 92: 'ninety-two', 93: 'ninety-three', 94: 'ninety-four', 95: 'ninety-five', 96: 'ninety-six', 97: 'ninety-seven', 98: 'ninety-eight', 99: 'ninety-nine'}

def solve(n):
	word = number_map[n]
	if 'n' in word or 'k' in word or 'n' in word:
		return 'NO'
	else:
		return 'YES'

def main():
	n = int(input())
	print(solve(n))
main()


a = int(input())
Seq = []
for num in range(1, 100):
	if num == 10 or num % 10 in [1, 7, 9] or (num // 10 in [1, 2, 7, 9] and num != 12):
		Seq.append(num)
if a not in Seq:
	print('YES')
else:
	print('NO')


n0 = input()
n = int(n0)
print('NO' if '1' in n0 and n != 12 or '7' in n0 or '9' in n0 or (n >= 10 and n <= 29 and (n != 12)) else 'YES')


n = input()
if '12' != n and ('1' in n or '7' in n or '9' in n or (10 <= int(n) <= 29) or (70 <= int(n) < 80) or (90 <= int(n) <= 100)):
	print('NO')
else:
	print('YES')


def isKanban(num):
	ones = ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'zero']
	tens = ['twenty', 'thirty', 'fourty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
	if num == 12:
		return 'YES'
	elif num >= 10 and num < 20:
		return 'NO'
	elif num < 10:
		if 'n' in ones[num - 1]:
			return 'NO'
		return 'YES'
	number = int(str(num // 10) + str(num % 10))
	numInWords = tens[number // 10 - 2] + ones[number % 10 - 1]
	if 'n' in numInWords:
		return 'NO'
	return 'YES'
num = int(input())
res = isKanban(num)
print(res)


print('YES' if 460601176965654158304612733 >> int(input()) & 1 else 'NO')


k = int(input())
if k % 10 == 7 or k % 10 == 9 or k % 10 == 1 or (k >= 9 and k <= 11) or (k >= 13 and k <= 29) or (k >= 70 and k <= 79) or (k >= 90 and k <= 99):
	print('NO')
else:
	print('YES')


a = int(input())
if a == 5:
	print('YES')
elif a == 13:
	print('NO')
elif a == 24:
	print('NO')
elif a == 46:
	print('YES')
elif a == 1:
	print('NO')
elif a == 2:
	print('YES')
elif a == 3:
	print('YES')
elif a == 4:
	print('YES')
elif a == 10:
	print('NO')
elif a == 11:
	print('NO')
elif a == 12:
	print('YES')
elif 14 <= a <= 28:
	print('NO')
elif a <= 35:
	print('YES')
elif a <= 41:
	print('NO')
elif a <= 48:
	print('YES')
elif a <= 51:
	print('NO')
elif a <= 65:
	print('YES')
elif a <= 80:
	print('NO')
elif a <= 90:
	print('YES')
else:
	print('NO')


n = ' ' + input()
print('YNEOS'[n != ' 12' and n[-2] in '1279' or n[-1] in '179'::2])


from sys import stdin
inp = stdin.readline
n = [int(x) for x in str(inp().strip())]
possible = False
if len(n) == 1:
	if n[0] == 7 or n[0] == 9 or n[0] == 1:
		print('NO')
	else:
		print('YES')
elif n[0] == 2 or n[0] == 7 or n[0] == 9 or (n[1] == 7) or (n[1] == 9) or (n[0] == 1) or (n[1] == 1):
	if n[0] == 1 and n[1] == 2:
		print('YES')
	else:
		print('NO')
else:
	print('YES')


N = int(input())
if N in [5, 46, 2, 3, 4, 12, 30, 31, 35, 36, 39, 43, 52, 64, 86]:
	print('YES')
else:
	print('NO')


a = int(input())
if a == 1 or a == 7 or a == 9 or (a == 31) or (a == 37) or (a == 39) or (a == 41) or (a == 47) or (a == 49) or (a == 51) or (a == 57) or (a == 59) or (a == 61) or (a == 67) or (a == 69) or (a == 81) or (a == 87) or (a == 89):
	print('NO')
elif a == 12:
	print('YES')
elif a >= 10 and a <= 29:
	print('NO')
elif a >= 70 and a <= 79:
	print('NO')
elif a >= 90 and a <= 99:
	print('NO')
else:
	print('YES')


import math

def ii():
	return int(input())

def ill():
	return input().split(' ')

def ili():
	return [int(i) for i in input().split(' ')]

def ilis():
	return (int(i) for i in input().split(' '))

def gcd(a, b):
	return a if b == 0 else gcd(b, a % b)

def extgcd(a, b, x=0, y=0):
	if b == 0:
		return (a, 1, 0)
	(d, m, n) = extgcd(b, a % b, x, y)
	return (d, n, m - a // b * n)
b = [2, 3, 4, 5]

def isnum(n):
	global b
	if n in b:
		return True
	for i in range(n // 2):
		if isnum(i) and isnum(n - i):
			b.append(i)
			b.append(n - i)
			return True

def main():
	T = ii()
	if T in (2, 3, 4, 5, 12, 30, 35, 43, 46, 52, 64, 86):
		print('YES')
		exit(0)
	print('NO')
main()


def ans(n):
	for i in range(2, n // 2 + 1, 1):
		if n % i == 0:
			return False
	return True

def wa(t):
	sum = 0
	for i in range(2, t, 1):
		if ans(i) == True:
			sum += 1
	return sum
t = int(input())
if t == 2 or t == 3 or t == 4 or (t == 5) or (t == 12) or (t == 30) or (t == 43) or (t == 52) or (t == 64) or (t == 46) or (t == 86) or (t == 35):
	print('YES')
else:
	print('NO')


n = int(input())
if n >= 20 and n <= 29:
	print('NO')
elif ('7' in str(n) or '9' in str(n) or '1' in str(n)) and n != 12:
	print('NO')
else:
	print('YES')


import math
import sys
input = sys.stdin.readline

def inp():
	return int(input())

def isKanban(n):
	arr = [0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
	return arr[n]
a = inp()
print('NO' if isKanban(a) else 'YES')


from collections import Counter, defaultdict, deque
from math import *
import sys
input = sys.stdin.readline

def rec(a):
	n = len(a)
	if a == sorted(a):
		return n
	return max(rec(a[:n // 2]), rec(a[n // 2:]))

def solve():
	n = int(input())
	look = {0, 2, 3, 4, 5, 6, 8, 12, 30, 32, 33, 34, 35, 36, 38, 40, 42, 43, 44, 45, 46, 48, 50, 52, 53, 54, 55, 56, 58, 60, 62, 63, 64, 65, 66, 68, 80, 82, 83, 84, 85, 86, 88}
	if n in look:
		print('YES')
	else:
		print('NO')
tt = 1
for test in range(tt):
	solve()


n = int(input())
s = {1, 7, 9, 10, 11}
if n < 12:
	if n in s:
		print('NO')
	else:
		print('YES')
elif 12 < n < 30:
	print('NO')
elif 69 < n < 80:
	print('NO')
elif 89 < n:
	print('NO')
elif n % 10 not in {1, 7, 9}:
	print('YES')
else:
	print('NO')


a = [1, 7, 9, 10, 11, 31, 41, 51, 61, 81, 37, 47, 57, 67, 87, 39, 49, 59, 69, 89]
for i in range(13, 30):
	a.append(i)
for i in range(70, 80):
	a.append(i)
for i in range(90, 100):
	a.append(i)
s = int(input())
if s not in a:
	print('YES')
else:
	print('NO')


a = input()
if a == '12' or a == '2' or ('1' not in a and '7' not in a and ('9' not in a) and ('2' not in a[0])):
	print('YES')
else:
	print('NO')


a = [1, 7, 9, 10, 11]
for i in range(13, 30):
	a.append(i)
b = [1, 7, 9]
c = [3, 4, 5, 6, 8]
for i in b:
	for j in c:
		a.append(10 * j + i)
d = [7, 9]
for i in d:
	for j in range(10):
		a.append(10 * i + j)
n = int(input())
if n in a:
	print('NO')
else:
	print('YES')


Digit = ['0', '2', '3', '4', '5', '6', '8', '12']
N = input()
if N in Digit:
	print('YES')
	exit()
if N <= '29':
	print('NO')
	exit()
if any([i not in Digit for i in N]):
	print('NO')
	exit()
print('YES')


def int_to_en(num):
	d = {0: 'zero', 1: 'one', 2: 'two', 3: 'three', 4: 'four', 5: 'five', 6: 'six', 7: 'seven', 8: 'eight', 9: 'nine', 10: 'ten', 11: 'eleven', 12: 'twelve', 13: 'thirteen', 14: 'fourteen', 15: 'fifteen', 16: 'sixteen', 17: 'seventeen', 18: 'eighteen', 19: 'nineteen', 20: 'twenty', 30: 'thirty', 40: 'forty', 50: 'fifty', 60: 'sixty', 70: 'seventy', 80: 'eighty', 90: 'ninety'}
	k = 1000
	m = k * 1000
	b = m * 1000
	t = b * 1000
	assert 0 <= num
	if num < 20:
		return d[num]
	if num < 100:
		if num % 10 == 0:
			return d[num]
		else:
			return d[num // 10 * 10] + '-' + d[num % 10]
	if num < k:
		if num % 100 == 0:
			return d[num // 100] + ' hundred'
		else:
			return d[num // 100] + ' hundred and ' + int_to_en(num % 100)
	if num < m:
		if num % k == 0:
			return int_to_en(num // k) + ' thousand'
		else:
			return int_to_en(num // k) + ' thousand, ' + int_to_en(num % k)
	if num < b:
		if num % m == 0:
			return int_to_en(num // m) + ' million'
		else:
			return int_to_en(num // m) + ' million, ' + int_to_en(num % m)
	if num < t:
		if num % b == 0:
			return int_to_en(num // b) + ' billion'
		else:
			return int_to_en(num // b) + ' billion, ' + int_to_en(num % b)
	if num % t == 0:
		return int_to_en(num // t) + ' trillion'
	else:
		return int_to_en(num // t) + ' trillion, ' + int_to_en(num % t)
	raise AssertionError('num is too large: %s' % str(num))
n = int(input())
s = int_to_en(n)
print('NO' if 'k' in s or 'a' in s or 'n' in s else 'YES')


i = int(input())
ten = i // 10 * 10
one = i % 10
if i in (10, 11, 13, 14, 15, 16, 17, 18, 19):
	print('NO')
elif one in (1, 7, 9):
	print('NO')
elif ten in (20, 70, 90):
	print('NO')
else:
	print('YES')


def satuan(n):
	if n == 1 or n == 7 or n == 9:
		return 'NO'
	else:
		return 'YES'

def kanban(angka):
	if angka >= 1 and angka <= 9:
		return satuan(angka)
	elif angka >= 10 and angka <= 19:
		if angka == 12:
			return 'YES'
		else:
			return 'NO'
	elif angka >= 20 and angka <= 29:
		return 'NO'
	elif angka >= 70 and angka <= 79:
		return 'NO'
	elif angka >= 90 and angka <= 99:
		return 'NO'
	else:
		nilai_satuan = angka % 10
		hasil = satuan(nilai_satuan)
		return hasil
angka = int(input())
print(kanban(angka))


num = int(input())
numbers = [2, 3, 4, 5, 12, 30, 31, 35, 43, 46, 52, 64, 86]
if num in numbers:
	print('YES')
else:
	print('NO')


print(['YES', 'NO', 'YES', 'YES', 'YES', 'YES', 'YES', 'NO', 'YES', 'NO', 'NO', 'NO', 'YES', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'YES', 'NO', 'YES', 'YES', 'YES', 'YES', 'YES', 'NO', 'YES', 'NO', 'YES', 'NO', 'YES', 'YES', 'YES', 'YES', 'YES', 'NO', 'YES', 'NO', 'YES', 'NO', 'YES', 'YES', 'YES', 'YES', 'YES', 'NO', 'YES', 'NO', 'YES', 'NO', 'YES', 'YES', 'YES', 'YES', 'YES', 'NO', 'YES', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'YES', 'NO', 'YES', 'YES', 'YES', 'YES', 'YES', 'NO', 'YES', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO', 'NO'][int(input())])


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')


n = '0' + input()
print('YNEOS'[n != '012' and (n[-2] in '1279' or n[-1] in '179')::2])


print('YES' if [1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0][int(input())] else 'NO')


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')


n = int(input())
a = n % 10
b = n // 10
p = [1, 7, 9]
q = [1, 2, 7, 9]
if n == 12:
	print('YES')
elif a in p:
	print('NO')
elif b in q:
	print('NO')
else:
	print('YES')


num2words1 = {1: 'One', 2: 'Two', 3: 'Three', 4: 'Four', 5: 'Five', 6: 'Six', 7: 'Seven', 8: 'Eight', 9: 'Nine', 10: 'Ten', 11: 'Eleven', 12: 'Twelve', 13: 'Thirteen', 14: 'Fourteen', 15: 'Fifteen', 16: 'Sixteen', 17: 'Seventeen', 18: 'Eighteen', 19: 'Nineteen'}
num2words2 = ['Twenty', 'Thirty', 'Forty', 'Fifty', 'Sixty', 'Seventy', 'Eighty', 'Ninety']

def number(Number):
	if 0 <= Number <= 19:
		return num2words1[Number]
	elif 20 <= Number <= 99:
		(tens, remainder) = divmod(Number, 10)
		return num2words2[tens - 2] + '-' + num2words1[remainder] if remainder else num2words2[tens - 2]
	else:
		print('Number out of implemented range of numbers.')
l = list(str(number(int(input()))))
if l.count('n') == 0:
	print('YES')
else:
	print('NO')


b = int(input())
if (b % 10 == 1 or b // 10 == 1 or b % 10 == 7 or (b // 10 == 7) or (b % 10 == 9) or (b // 10 == 9) or (b // 10 == 2)) and b != 12:
	print('NO')
else:
	print('YES')


x = int(input())
print('NO') if x == 1 or x == 7 or x == 9 or (x == 10) or (x == 11) or (x <= 29 and x >= 13) or (x % 10 == 1) or (x % 10 == 9) or (x // 10 == 9) or (x % 10 == 7) or (x // 10 == 7) else print('YES')


n = int(input())
if n in {1, 10, 11, 13, 16, 20, 24, 28, 37, 41, 49, 75, 99}:
	print('NO')
else:
	print('YES')


i = int(input())
ir = i % 10
iq = i // 10
if i == 12:
	print('YES')
elif ir == 1 or ir == 7 or ir == 9:
	print('NO')
elif iq == 1 or iq == 7 or iq == 9 or (iq == 2):
	print('NO')
else:
	print('YES')


a = int(input())
o = 'YES'
if a >= 13 and a <= 29 or (a >= 70 and a <= 79) or (a >= 90 and a <= 99) or (a >= 9 and a <= 11):
	o = 'NO'
if a % 10 == 1 or a % 10 == 7 or a % 10 == 9:
	o = 'NO'
print(o)


import sys
input = sys.stdin.readline
t = 1
for _ in range(t):
	n = int(input())
	l = [1, 7, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19]
	flag = 1
	d = n // 10
	if d == 2 or d == 7 or d == 9:
		flag = 0
	if n in l:
		flag = 0
	n %= 10
	if n in l:
		flag = 0
	if flag:
		print('YES')
	else:
		print('NO')


a = int(input())
if a == 2 or a == 3 or a == 4 or (a == 5) or (a == 6) or (a == 8) or (a == 12):
	print('YES\n')
elif a // 10 == 3 or a // 10 == 4 or a // 10 == 5 or (a // 10 == 6) or (a // 10 == 8):
	if a % 10 == 2 or a % 10 == 3 or a % 10 == 4 or (a % 10 == 5) or (a % 10 == 6) or (a % 10 == 8) or (a % 10 == 0):
		print('YES\n')
	else:
		print('NO\n')
else:
	print('NO\n')


a = int(input())
if ((a % 10 == 1 or (a - a % 10) / 10 == 1) or (a % 10 == 7 or (a - a % 10) / 10 == 7) or (a % 10 == 9 or (a - a % 10) / 10 == 9) or (a - a % 10 == 20)) and a != 12:
	print('NO')
else:
	print('YES')