It is September 9 in Japan now.
You are given a two-digit integer N. Answer the question: Is 9 contained in the decimal notation of N?

-----Constraints-----
 - 10≤N≤99

-----Input-----
Input is given from Standard Input in the following format:
N

-----Output-----
If 9 is contained in the decimal notation of N, print Yes; if not, print No.

-----Sample Input-----
29

-----Sample Output-----
Yes

The one's digit of 29 is 9.

Difficulty: EASY

Solutions:
N = str(input())
if '9' in N:
	print('Yes')
else:
	print('No')


print('YNeos'[input().find('9') == -1::2])


arr = list(input())
print('Yes' if '9' in arr else 'No')


s = list(input())
c = 0
for i in range(0, len(s)):
	if s[i] == '9':
		c = c + 1
if c == 0:
	print('No')
else:
	print('Yes')


import math
n = input()
print('Yes' if '9' in n else 'No')


n = list(str(input()))
print('YNeos'['9' not in n::2])


N = input()
if N.find('9') == -1:
	print('No')
else:
	print('Yes')


n = str(input())
print('Yes' if '9' in n else 'No')


N = str(input())
print('YNeos'[N.count('9') == 0::2])


N = input()
N_list = list(N)
print(['No', 'Yes']['9' in N_list])


n = list(input())
print('Yes') if '9' in n else print('No')


n = input()
print(['No', 'Yes', 'Yes'][n.count('9')])


print('YNeos'[input().count('9') < 1::2])


l = list(input())
print('Yes') if '9' in l else print('No')


n = input()
s = n.find('9')
if s == -1:
	print('No')
else:
	print('Yes')


def atc_073a(N: int) -> str:
	try:
		str(N).index('9')
		return 'Yes'
	except ValueError:
		return 'No'
N = int(input())
print(atc_073a(N))


n = input()
ans = 'Yes' if '9' in n else 'No'
print(ans)


N = input()
my_list = []
for i in N:
	my_list.append(i)
if '9' in my_list:
	print('Yes')
else:
	print('No')


print('Yes' if any(('9' == c for c in input())) else 'No')


s = input()
ans = 'No'
for c in s:
	if c == '9':
		ans = 'Yes'
print(ans)


print(input().count('9') and 'Yes' or 'No')


x = input()
a = 'No'
if '9' in x:
	a = 'Yes'
print(a)


a = list(input())
count = 0
for i in range(0, len(a)):
	if a[i] == '9':
		count += 1
if count > 0:
	print('Yes')
else:
	print('No')


print('Yes' if list(input()).count('9') else 'No')


print('NYoe s'['9' in input()::2])


N = int(input())
if N % 10 == 9 or N // 10 == 9:
	print('Yes')
else:
	print('No')


n = int(input())
if n % 10 == 9 or n // 10 == 9:
	ans = 'Yes'
else:
	ans = 'No'
print(ans)


print('YNeos'[not '9' in input()::2])


N = input()
ans = 'Yes' if '9' in N else 'No'
print(ans)


print('YNeos'[1 - ('9' in input())::2])


n = input()
print('Yes' if '9' in set(n) else 'No')


print('YNeos'[input().count('9') == 0::2])


s = str(input())
print('Yes' if '9' in s else 'No')


def iroha():
	num = list(input())
	for i in num:
		if i == '9':
			print('Yes')
			return
	print('No')

def __starting_point():
	iroha()
__starting_point()


print('Yes' if input().find('9') >= 0 else 'No')


n = input()
r = 'Yes' if '9' in n else 'No'
print(r)


a = str(input())
print('Yes' if '9' in a else 'No')


a = int(input())
print('Yes' if a // 10 == 9 or a % 10 == 9 else 'No')


x = input()
print('Yes' if x.count('9') else 'No')


X = str(input())
if '9' in X:
	print('Yes')
else:
	print('No')