-----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
Tags: Complete search
Skill types: Complete search

Starter code:

Solutions:
k = ['', 'one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']
n = ['', '', 'twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
a = int(input())
if a < 20:
	a = k[a]
else:
	a = n[a // 10] + k[a % 10]
if 'k' in a or 'a' in a or 'n' in a:
	print('NO')
else:
	print('YES')


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


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


n = int(input())
if n == 2 or n == 3 or n == 4 or (n == 5) or (n == 12) or (n == 30) or (n == 35) or (n == 43) or (n == 46) or (n == 52) or (n == 64) or (n == 86):
	print('YES')
else:
	print('NO')


nkanban = ['1', '7', '9']
a = input()
a = list(a)
if len(a) == 1:
	if a[0] == '1' or a[0] == '7' or a[0] == '9':
		print('NO')
	else:
		print('YES')
elif a[0] == '1' and a[1] == '2':
	print('YES')
elif a[0] == '3' and a[1] != '1' and (a[1] != '7') and (a[1] != '9'):
	print('YES')
elif a[0] == '4' and a[1] != '1' and (a[1] != '7') and (a[1] != '9'):
	print('YES')
elif a[0] == '5' and a[1] != '1' and (a[1] != '7') and (a[1] != '9'):
	print('YES')
elif a[0] == '6' and a[1] != '1' and (a[1] != '7') and (a[1] != '9'):
	print('YES')
elif a[0] == '8' and a[1] != '1' and (a[1] != '7') and (a[1] != '9'):
	print('YES')
else:
	print('NO')


text = input()
fl = 1
for i in ['9', '7', '1', '20', '22', '23', '24', '25', '26', '28']:
	if i in text and text != '12':
		fl = 0
if fl:
	print('YES')
else:
	print('NO')


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


bad = [1, 10, 11, 13, 16, 20, 24, 28, 37, 41, 49, 75]
good = [2, 3, 4, 5, 12, 30, 35, 43, 46, 52, 64, 86]
n = int(input())
if n in good:
	print('YES')
else:
	print('NO')


n = int(input())
a = [1, 7, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 37, 39, 41, 47, 49, 51, 57, 59, 61, 67, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 81, 87, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100]
if n in a:
	print('NO')
else:
	print('YES')


arr = [1, 7, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19]
x = int(input())
if x < 20:
	if x in arr:
		print('NO')
	else:
		print('YES')
elif x >= 20 and x <= 29:
	print('NO')
elif x >= 70 and x <= 79:
	print('NO')
elif x > 90:
	print('NO')
elif x % 10 in [1, 7, 9]:
	print('NO')
else:
	print('YES')


n = int(input())
x = ('NO', 'YES')
print(x[n in (2, 3, 4, 5, 12, 30, 31, 35, 43, 46, 52, 64, 86)])


n = int(input())
if n == 12:
	print('YES')
	exit()
first_digit = n % 10
second_digit = int(n / 10)
if first_digit == 1 or first_digit == 7 or first_digit == 9 or (second_digit == 1) or (second_digit == 2) or (second_digit == 7) or (second_digit == 9):
	print('NO')
else:
	print('YES')


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


import sys
import os
from io import BytesIO, IOBase

def ceil(n, k):
	return n // k + (n % k != 0)

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

def mi():
	return map(int, input().split())

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

def lcm(a, b):
	return abs(a * b) // math.gcd(a, b)

def prr(a, sep=' '):
	print(sep.join(map(str, a)))

def dd():
	return defaultdict(int)

def ddl():
	return defaultdict(list)

def ddd():
	return defaultdict(defaultdict(int))
BUFSIZE = 8192

class FastIO(IOBase):
	newlines = 0

	def __init__(self, file):
		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 = os.read(self._fd, max(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 = os.read(self._fd, max(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:
			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')
from collections import defaultdict
k = [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]
for _ in range(1):
	n = ii()
	if n in k:
		print('YES')
	else:
		print('NO')


def num2words(num):
	nums_20_90 = ['Twenty', 'Thirty', 'Forty', 'Fifty', 'Sixty', 'Seventy', 'Eighty', 'Ninety']
	nums_0_19 = ['Zero', 'One', 'Two', 'Three', 'Four', 'Five', 'Six', 'Seven', 'Eight', 'Nine', 'Ten', 'Eleven', 'Twelve', 'Thirteen', 'Fourteen', 'Fifteen', 'Sixteen', 'Seventeen', 'Eighteen', 'Nineteen']
	nums_dict = {100: 'hundred', 1000: 'thousand', 1000000: 'million', 1000000000: 'billion'}
	if num < 20:
		return nums_0_19[num]
	if num < 100:
		return nums_20_90[num // 10 - 2] + ('' if num % 10 == 0 else ' ' + nums_0_19[num % 10])
	maxkey = max([key for key in nums_dict.keys() if key <= num])
	return num2words(num // maxkey) + ' ' + nums_dict[maxkey] + ('' if num % maxkey == 0 else ' ' + num2words(num % maxkey))
number = int(input())
if 'n' in num2words(number):
	print('NO')
else:
	print('YES')


class CodeforcesTask1145BSolution:

	def __init__(self):
		self.result = ''
		self.n = 0

	def read_input(self):
		self.n = int(input())

	def process_task(self):
		spells = ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine', 'ten']
		if self.n <= 10:
			self.result = 'YES' if 'n' not in spells[self.n - 1] else 'NO'
		elif self.n == 12:
			self.result = 'YES'
		elif 10 < self.n < 20:
			self.result = 'NO'
		else:
			bignum = ['twenty', 'thirty', 'fourty', 'fifty', 'sixty', 'seventy', 'eighty', 'ninety']
			if 'n' in bignum[int(str(self.n)[0]) - 2]:
				self.result = 'NO'
			elif int(str(self.n)[1]):
				if 'n' in spells[int(str(self.n)[1]) - 1]:
					self.result = 'NO'
				else:
					self.result = 'YES'
			else:
				self.result = 'YES'

	def get_result(self):
		return self.result
Solution = CodeforcesTask1145BSolution()
Solution.read_input()
Solution.process_task()
print(Solution.get_result())


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


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


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


n = int(input())
d = {1: 'one', 2: '\ttwo\t', 3: '\tthree\t', 4: '\tfour\t', 5: '\tfive\t', 6: '\tsix\t', 7: '\tseven\t', 8: '\teight\t', 9: '\tnine\t', 10: '\tten\t', 11: '\televen\t', 12: '\ttwelve\t', 13: '\tthirteen', 14: '\tfourteen', 15: '\tfifteen\t', 16: '\tsixteen\t', 17: '\tseventeen', 18: '\teighteen', 19: '\tnineteen', 20: '\ttwenty\t', 21: '\ttwenty-one', 22: '\ttwenty-two', 23: '\ttwenty-three', 24: '\ttwenty-four', 25: '\ttwenty-five', 26: '\ttwenty-six', 27: '\ttwenty-seven', 28: '\ttwenty-eight', 29: '\ttwenty-nine', 30: '\tthirty\t', 31: '\tthirty-one', 32: '\tthirty-two', 33: '\tthirty-three', 34: '\tthirty-four', 35: '\tthirty-five', 36: '\tthirty-six', 37: '\tthirty-seven', 38: '\tthirty-eight', 39: '\tthirty-nine', 40: '\tforty\t', 41: '\tforty-one\t', 42: '\tforty-two', 43: '\tforty-three', 44: '\tforty-four', 45: '\tforty-five', 46: '\tforty-six\t', 47: '\tforty-seven\t', 48: '\tforty-eight', 49: '\tforty-nine', 50: '\tfifty\t', 51: '\tfifty-one', 52: '\tfifty-two', 53: '\tfifty-three', 54: '\tfifty-four\t', 55: '\tfifty-five\t', 56: '\tfifty-six\t', 57: '\tfifty-seven\t', 58: '\tfifty-eight\t', 59: '\tfifty-nine\t', 60: '\tsixty\t', 61: '\tsixty-one\t', 62: '\tsixty-two\t', 63: '\tsixty-three\t', 64: '\tsixty-four\t', 65: '\tsixty-five\t', 66: '\tsixty-six\t', 67: '\tsixty-seven\t', 68: '\tsixty-eight\t', 69: '\tsixty-nine\t', 70: '\tseventy\t', 71: '\tseventy-one\t', 72: '\tseventy-two\t', 73: '\tseventy-three\t', 74: '\tseventy-four\t', 75: '\tseventy-five\t', 76: '\tseventy-six\t', 77: '\tseventy-seven\t', 78: '\tseventy-eight\t', 79: '\tseventy-nine\t', 80: '\teighty\t', 81: '\teighty-one\t', 82: '\teighty-two\t', 83: '\teighty-three\t', 84: '\teighty-four\t', 85: '\teighty-five\t', 86: '\teighty-six\t', 87: '\teighty-seven\t', 88: '\teighty-eight\t', 89: '\teighty-nine\t', 90: '\tninety\t', 91: '\tninety-one\t', 92: '\tninety-two\t', 93: '\tninety-three\t', 94: '\tninety-four\t', 95: 'ninety-five\t', 96: 'ninety-six\t', 97: 'ninety-seven\t', 98: 'ninety-eight\t', 99: 'ninety-nine\t', 100: 'one hundred   '}
print(['NO', 'YES'][not 'n' in d[n]])


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


n = int(input())
ans = 1
if n % 10 == 1 or n % 10 == 7 or n % 10 == 9:
	ans = 0
if n == 10 or 13 <= n <= 29:
	ans = 0
if n // 10 in [7, 9]:
	ans = 0
print('YES' if ans else 'NO')


n = int(input())
k = n % 10
flag = 0
if (k == 7 or k == 9 or k == 1) and flag == 0:
	print('NO')
	flag = 1
if n >= 10:
	t = n // 10
	if (t == 2 or (t == 1 and k != 2) or t == 7 or (t == 9)) and flag == 0:
		print('NO')
		flag = 1
	elif flag == 0:
		print('YES')
elif flag == 0:
	print('YES')


banned = [[1, 7, 9], [10, 11, 13, 14, 15, 16, 17, 18, 19], list(range(20, 30)), [31, 37, 39], [41, 47, 49], [51, 57, 59], [61, 67, 69], list(range(70, 80)), [81, 87, 89], list(range(90, 100))]
ans = []
for l in banned:
	for x in l:
		ans.append(x)
n = int(input())
if n in ans:
	print('NO')
else:
	print('YES')


numWords = ['1', '7', '9']
FirstNums = ['1', '2', '7', '9']

def isKanBan(n):
	if n == '10' or n == '11':
		return 'NO'
	if n == '12':
		return 'YES'
	if len(n) > 1:
		if n[0] in FirstNums:
			return 'NO'
	for el in n:
		if el in numWords:
			return 'NO'
	return 'YES'
n = str(input())
print(isKanBan(n))


def kanban(x):
	if x == 12:
		return False
	if x >= 10 and x < 30:
		return True
	if x >= 70 and x < 80:
		return True
	if x >= 90:
		return True
	return x % 10 in [1, 7, 9]
print('NO' if kanban(int(input())) else 'YES')


n = int(input())
print('YNEOS'[n != 12 and (n // 10 in (1, 2, 7, 9) or n % 10 in (1, 7, 9))::2])


num2words = {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', 0: 'Zero'}

def n2w(n):
	if n <= 20:
		return num2words[n].lower()
	return num2words[n - n % 10].lower() + num2words[n % 10].lower()
n = int(input())
print('YES' if 'n' not in n2w(n) else 'NO')


r = [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]
a = int(input())
if r[a] == 1:
	print('YES')
else:
	print('NO')


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


n = int(input())
q = ['1', '7', '9', '10', '11', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '31', '37', '39', '41', '47', '49', '51', '57', '59', '61', '67', '69', '70', '71', '72', '73', '74', '75', '76', '77', '78', '79', '81', '87', '89', '90', '91', '92', '93', '94', '95', '96', '97', '98', '99']
k = 0
for i in range(len(q)):
	if str(n) == q[i]:
		print('No')
		k += 1
if k == 0:
	print('Yes')


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


def main():
	ones = ['zero', 'one ', 'two ', 'three ', 'four ', 'five ', 'six ', 'seven ', 'eight ', 'nine ', 'ten ', 'eleven ', 'twelve ', 'thirteen ', 'fourteen ', 'fifteen ', 'sixteen ', 'seventeen ', 'eighteen ', 'nineteen ']
	twenties = ['', '', 'twenty ', 'thirty ', 'forty ', 'fifty ', 'sixty ', 'seventy ', 'eighty ', 'ninety ']
	num = int(input())
	if num < 20:
		if 'n' in ones[num]:
			return 'NO'
		else:
			return 'YES'
	elif 'n' in twenties[num // 10] + ones[num % 10]:
		return 'NO'
	else:
		return 'YES'
print(main())


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


def li():
	return list(map(int, input().split(' ')))
a = input()
if '9' in a:
	print('No')
elif '7' in a:
	print('No')
elif '1' in a and a != '12':
	print('No')
elif len(a) > 1 and a[0] == '2':
	print('No')
else:
	print('Yes')


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


n = int(input())
if n >= 9 and n <= 29 and (n != 12) or (n >= 70 and n <= 79) or (n >= 90 and n <= 99):
	print('No')
elif n % 10 in [1, 7, 9]:
	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
from functools import lru_cache
from heapq import merge, heapify, heappop, heappush
from math import ceil, floor, gcd, fabs, factorial, fmod, sqrt, inf
from collections import defaultdict as dd, deque, Counter as c
from itertools import combinations as comb, permutations as perm
from bisect import bisect_left as bl, bisect_right as br, bisect
mod = pow(10, 9) + 7
mod2 = 998244353

def data():
	return sys.stdin.readline().strip()

def out(var):
	sys.stdout.write(str(var))

def outln(var):
	sys.stdout.write(str(var) + '\n')

def l():
	return list(sp())

def sl():
	return list(ssp())

def sp():
	return map(int, data().split())

def ssp():
	return map(str, data().split())

def l1d(n, val=0):
	return [val for i in range(n)]

def l2d(n, m, val=0):
	return [l1d(n, val) for j in range(m)]
a = data()
if a[-1] == '1' or a[-1] == '9' or a[-1] == '7':
	out('NO')
	exit()
if len(a) == 2:
	if a[0] == '1' and a[1] != '2' or a[0] == '2' or a[0] == '9' or (a[0] == '7'):
		out('NO')
		exit()
out('YES')


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