Problem:
 Score : 100 points    Problem Statement 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 1 29      Sample Output 1 Yes  The one's digit of 29 is 9 .       Sample Input 2 72      Sample Output 2 No  72 does not contain 9 .       Sample Input 3 91      Sample Output 3 Yes

Solution (Python):
if input().count("9") >= 1:
    print("Yes")
else:
    print("No")

Solution (Python):
N = input()
if N[0] == '9' or N[1] == '9':
    print('Yes')
else:
    print('No')

Solution (Python):

N = int(input())

if N % 10 == 9 or N // 10 == 9:
    print('Yes')

else:
    print('No')

Solution (Python):
n = input()

print('Yes' if n[0] == '9' or n[1] == '9' else 'No')

Solution (Python):
N = input()
if '9' in N:
    print('Yes')
else:
    print('No')

Solution (Python):
n = input()

if n[0] != '9' and n[1] != '9':
    print('No')
else:
    print('Yes')

Solution (Python):
def atc_073a(N: int) -> str:
    try:
        str(N).index("9")
        return "Yes"
    except ValueError:
        return "No"

N = int(input())
print(atc_073a(N))

Solution (Python):
n = input('')

if n[0] == '9' or n[1] == '9':
    print('Yes')
else:
    print('No')

Solution (Python):
n = input()

if '9' in n:
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()

if "9" in N:
  print("Yes")
else:
  print("No")

Solution (Python):
N = input()
ans = 'No'
for i in N:
  if i == '9':
    ans = 'Yes'
print(ans)

Solution (Python):
print("YNeos"[input().count("9")<1::2])

Solution (Python):
n = input()
if "9" in n:
    print('Yes')
else:
    print('No')

Solution (Python):
n=int(input())

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

Solution (Python):
n = input()
if "9" in n:
    print("Yes")
else:
    print("No")

Solution (Python):
if '9' in input():
 print('Yes')
else:
 print('No')

Solution (Python):
N = input()
if '9' in N:
    print('Yes')
else:
    print('No')

Solution (Python):
A = set(input())

if '9' in A:
    print('Yes')
else:
    print('No')

Solution (Python):
N=int(input())
if 10<=N and N<=99:
    n=str(N)
    if (int(n[0])==9 or int(n[1])==9) or (int(n[0])==9 and int(n[1])==9):
        print('Yes')
    else:
        print('No')

Solution (Python):
N = int(input())

number_nine = list(str(N))
if '9' in number_nine:
    print('Yes')
else:
    print('No')

Solution (Python):
N = int(input())

nine = list(str(N))
if "9" in nine:
    print("Yes")
else:
    print("No")

Solution (Python):
N = str(input())

def answer(N: str) -> str:
    if '9' in N:
        return 'Yes'
    else:
        return 'No'

print(answer(N))

Solution (Python):
N = input()

if str(N[0]) == "9" or str(N[1]) == "9":
    print("Yes")
else:
    print("No")

Solution (Python):
print("Yes" if "9" in input() else "No")

Solution (Python):
n = input()
print("Yes" if n[0] == "9" or n[1] == "9" else "No")

Solution (Python):
X = str(input())

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

Solution (Python):
N = list(input())

if N[0] == '9' or N[1] == '9':
    print('Yes')
else:
    print('No')

Solution (Python):
print("Yes") if "9" in input() else print("No")

Solution (Python):
n = input()
if n[0] == '9' or n[1] == '9':
    print('Yes')
else:
    print('No')

Solution (Python):
'''
問題：
    今、日本は 9 月 9 日です。
    二桁の整数 N が与えられるので、十進法で N に 9 が含まれるか答えてください。
'''
'''
制約：
10 ≦ N ≦ 99
'''


n = int(input())

result = ""
if n % 10 == 9: 
    result = "Yes"
elif 90 <= n % 100 < 100:   
    result = "Yes"
else:
    result = "No"

print(result)

Solution (Python):
N = str(input())

if "9" in N:
    print("Yes")
else:
    print("No")

Solution (Python):
N = input()
if N[0] == "9" or N[1] == "9":
    print("Yes")
else:
    print("No")

Solution (Python):
N = input()
if "9" in N:
    print("Yes")
else:
    print("No")

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

Solution (Python):
if input().count('9'):
    print("Yes")
else:
    print("No")

Solution (Python):
N =list(input())
if N[0] == '9' or N[1]=='9':
    print('Yes')
else:
    print('No')

Solution (Python):

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

Solution (Python):
a = input()
if '9' in a:
  print('Yes')
else:
  print('No')

Solution (Python):
print(('No', 'Yes')['9' in input()])

Solution (Python):
n=input()
if "9" in n:
    print("Yes")
else:
    print("No")

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

Solution (Python):
S = input()
if S.count('9') == 0:
    print('No')
else:
    print('Yes')

Solution (Python):



n = input()

if n.count('9'):
    print('Yes')
else:
    print('No')

Solution (Python):
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")

Solution (Python):
a=input()
if '9' in a:
  print('Yes')
else:
   print('No')

Solution (Python):
N = input()

if "9" in N:
    print("Yes")
else:
    print("No")

Solution (Python):
n=input()
if '9' in n:print('Yes')
else:print('No')

Solution (Python):


def atc_073a(N: int) -> str:
    try:
        str(N).index("9")
        return "Yes"
    except ValueError:
        return "No"

N = int(input())
print(atc_073a(N))

Solution (Python):
N = str(input())

if N[0] == '9' or N[1] == '9':
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()
print("Yes" if N[0] == "9" or N[1] == "9" else "No")

Solution (Python):
N = input()

if N[0] == '9' or N[1] == '9':
    print('Yes')
else:
    print('No')

Solution (Python):
def main():
    n = input()
    if "9" in n:
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    main()

Solution (Python):
a = input()
print("Yes" if "9" in a else "No")

Solution (Python):
n = input()
if n.count('9') >= 1:
    print('Yes')
else:
    print('No')

Solution (Python):
n = input()
if '9' in n:
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()

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

Solution (Python):
N = input()

if "9" in N:
    print( "Yes" )
else:
    print( "No" )

Solution (Python):
N = input()

if '9' in N:
  print('Yes')
else:
  print('No')

Solution (Python):
N = str(input())

if N[0] == "9" or N[1] == "9":
    result = "Yes"
else:
    result = "No"

print(result)

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

Solution (Python):
A=input()
if "9" in A:
   print("Yes")
else:
   print("No")

Solution (Python):


N = input()
my_list = []

for i in N:
    my_list.append(i)

if "9" in my_list:
    print('Yes')
else:
    print('No')

Solution (Python):


N = input()

if "9" in N:        
    print("Yes")
else:
    print("No")

Solution (Python):
n = input()
if "9" in n:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())




N = str(N)
if "9" in N:
    print("Yes")
else:
    print("No")

Solution (Python):
N = input()
if '9' in N:
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()

if "9" in N:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
n = str(n)
if "9" in n:
    print("Yes")
else:
    print("No")

Solution (Python):
n = str(input())

if n[0] == "9" or n[1] == "9":
    print("Yes")
else:
    print("No")

Solution (Python):
N = str(input())
if N[0]=='9' or N[1]=='9':
    result = 'Yes'
else:
    result = 'No'
print(result)

Solution (Python):
n = input()
print("Yes" if n.count("9") > 0 else "No")

Solution (Python):
N=input()
if "9" in N:
    print("Yes")
else:
    print("No")

Solution (Python):

N = str(input())


if "9" in N:
    print("Yes")
else:
    print("No")

Solution (Python):
a,b=map(int,input())

if a==9 or b==9:
    print("Yes")
else:
    print("No")

Solution (Python):
c = input()
if "9" in c:
  print("Yes")
else:
  print("No")

Solution (Python):
str_num = str(input())

print("Yes" if "9" in str_num else "No")

Solution (Python):
n=input()
if n.count('9'):
  print('Yes')
else:
  print('No')

Solution (Python):
print("Yes" if "9" in input() else "No")

Solution (Python):
N = str(input())

if N[0] == '9' or N[1] == '9':
    print('Yes')
else:
    print('No')

Solution (Python):
N=input()
if N.count("9")>0 :
  print("Yes")
else :
  print("No")

Solution (Python):
print('Yes' if '9' in input() else 'No')

Solution (Python):
import sys

readline = sys.stdin.readline
MOD = 10 ** 9 + 7
INF = float('INF')
sys.setrecursionlimit(10 ** 5)


def main():
    s = input()

    if "9" in s:
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    main()

Solution (Python):
N = str(input())
if N[0]== "9" or N[1]=="9":
    print('Yes')
else:
    print('No')

Solution (Python):
N = str(input())

if N[0] == "9" or N[1] == "9":
    print("Yes")
else:
    print("No")

Solution (Python):
n = input()
if n[0] == "9" or n[1] == "9":
  print("Yes")
else:
  print("No")

Solution (Python):
N = str(input())
if "9" in N:
    print("Yes")
else:
    print("No")

Solution (Python):
N = input()
if '9' in N:
  print('Yes')
else:
  print('No')

Solution (Python):
a=int(input())
if a%10==9 or a>=90:
  print("Yes")
else:
  print("No")

Solution (Python):
N = input()
if '9' in N:
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()

if '9' in N:
    print('Yes')
else:
    print('No')

Solution (Python):
S = input()
if ("9" in S) == True:
    result = "Yes"
else:
    result = "No"
print(result)

Solution (Python):
num_input = int(input())
set_of_nine = set()

for i in range(9, 100, 10):
    set_of_nine.add(i)

for tmp in range(90, 100, 1):
    set_of_nine.add(tmp)

if num_input in set_of_nine:
    print('Yes')
else:
    print('No')

Solution (Python):
print(("No", "Yes")["9" in input()])

Solution (Python):
n = input()
if '9' in n:
    print('Yes')
else:
    print('No')

Solution (Python):
print("YNeos"["9"not in input()::2])

Solution (Python):
num = input()
if "9" in num:
  print("Yes")
else:
  print("No")

Solution (Python):
print("NYoe s"["9" in input()::2])

Solution (Python):
print('Yes' if "9" in input() else 'No')

Solution (Python):
s=input()
if "9" in s:print("Yes") 
else:print("No")

Solution (Python):
if "9" in input():
  print("Yes")
else:
  print("No")

Solution (Python):
n = input()
if '9' in n: print('Yes')
else: print('No')

Solution (Python):
n = int(input())
t = n // 10
n -= t*10
if t==9:
    print('Yes')
elif n == 9:
    print('Yes')
else:
    print('No')

Solution (Python):
n = int(input())
if n >=90 or n%10==9:
  print("Yes")
else:
  print("No")

Solution (Python):
N=input()
if N[0]=='9' or N[1]=='9':
  print('Yes')
else:
  print('No')

Solution (Python):
n = input()

if "9" in n:
    print("Yes")
else:
    print("No")

Solution (Python):
n=input()
if "9" in n:
  print("Yes")
else:
  print("No")

Solution (Python):
def main():
    print('Yes' if '9' in input() else 'No')


if __name__ == '__main__':
    main()

Solution (Python):
def main():
    print('Yes' if '9' in input() else 'No')


if __name__ == '__main__':
    main()

Solution (Python):
n = str(input())
flag = False

for i in range(2):
    if '9' in n[i]:
        flag = True
        break
        
if flag:
    print('Yes')
else:
    print('No')

Solution (Python):
n = input()
if "9" in n:
    print("Yes")
else:
    print("No")

Solution (Python):
s=input()
if('9' in s):
    print("Yes")
else:
    print("No")

Solution (Python):
N = input()

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

Solution (Python):
N = int(input())
str_N = str(N)
if "9" in str_N:
  print("Yes")
else:
  print("No")

Solution (Python):
a=int(input())
b=a%10
if int(a/10)==9:
  print("Yes")
else:
  if b==9:
    print("Yes")
  else:
    print("No")

Solution (Python):
n = input()

if '9' in n:
    print('Yes')
else:
    print('No')

Solution (Python):
print('Yes' if   '9' in input() else 'No' )

Solution (Python):
n = input()
if (n[0] == "9" or n[1] == "9"):
  print("Yes")
else:
  print("No")

Solution (Python):
s = input()
print('Yes') if s[0] == '9' or s[1] == '9' else print('No')

Solution (Python):
s = input()
print('Yes') if s[0] == '9' or s[1] == '9' else print('No')

Solution (Python):
N=str(input())
ans="No"
if "9" in N:
    ans="Yes"
print(ans)

Solution (Python):
s = input()
if s[0]=='9' or s[1]=='9': print('Yes')
else: print('No')

Solution (Python):
s = input()
print('Yes' if '9' in s else 'No')

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

Solution (Python):


n = str(input())

if "9" in n:
    print("Yes")
else:
    print("No")

Solution (Python):
n = input()
if "9" in n:
  print("Yes")
else:
  print("No")

Solution (Python):
n = input()
if '9' in n:
    print('Yes')
else:
    print('No')

Solution (Python):
import sys
sys.setrecursionlimit(4100000)
import math
import itertools
INF = float('inf')
from heapq import heapify, heappop, heappush

def main():
    n = input()

    if '9' in n:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    main()

Solution (Python):
N = input()

if '9' in N:
    print('Yes')
else:
    print('No')

Solution (Python):
N=list(input())
if "9" in N:
  print("Yes")
else:
  print("No")

Solution (Python):
s = input()
for i in range(2):
  if s[i]=="9":
    print("Yes")
    exit()
print("No")

Solution (Python):
n = input()
print("Yes" if "9" in n else "No")

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

Solution (Python):
n = input()
if n.count('9'):
  print('Yes')
else:
  print('No')

Solution (Python):
N = list(input())

print("Yes" if "9" in N else "No")

Solution (Python):
n = input()
if n[0] == "9" or n[1] == "9":
  print("Yes")
else:
  print("No")

Solution (Python):
n=input()
if n.count('9')==0:
    print('No')
else:
    print('Yes')

Solution (Python):
n = int(input())

ichi = n%10
juu = int(n/10)

if ichi == 9 or juu == 9:
  print("Yes")
else:
  print("No")

Solution (Python):


if "9" in str(input()):
    print("Yes")
else:
    print("No")

Solution (Python):
s=input()
print('Yes' if s[0]=='9' or s[1]=='9' else 'No')

Solution (Python):
x = str(input())
if x[0]=='9' or x[1]=='9':
    print('Yes')
else:
    print('No')

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

Solution (Python):
print(["No","Yes"]["9" in input()])

Solution (Python):
m,n=input()
print(["No","Yes"][m=="9" or n=="9"])

Solution (Python):
N = input()
if "9" in N:
	print("Yes")
else:
	print("No")

Solution (Python):
n = str(input())
if n[0] == '9' or n[1] == '9':
    print('Yes')
else:
    print('No')

Solution (Python):
n = input()

for i in n:
  if i == "9":
    print("Yes")
    exit()
print("No")

Solution (Python):
import sys

read = sys.stdin.read
readline = sys.stdin.buffer.readline
sys.setrecursionlimit(10 ** 8)
INF = float('inf')
MOD = 10 ** 9 + 7


def main():
    S = input()
    if '9' in S:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    main()

Solution (Python):

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


if __name__ == "__main__":
    main()

Solution (Python):
N =input()
print("Yes" if "9" in N else "No")

Solution (Python):
a = input ()
if '9' in a:
  print ('Yes')
else:
  print ('No')

Solution (Python):










n = input()

if "9" in n:
    print("Yes")
else:
    print("No")

Solution (Python):
if '9' in input():print('Yes')
else:print('No')

Solution (Python):
N = input()
if(N[0] == "9" or N[1] == "9"):
  print("Yes")
else:
  print("No")

Solution (Python):

print 'Yes' if '9' in raw_input() else 'No'

Solution (Python):
S = list(input())
print('Yes' if '9' in S else 'No')

Solution (Python):
n = (input())



print('Yes') if '9' in n else print('No')

Solution (Python):
n = str(input())
if n[0] == '9' or n[1] == '9':
    print('Yes')
else:
    print('No')

Solution (Python):
n=input()
if n[0]=="9" or n[1]=="9":
  print("Yes")
else:
  print("No")

Solution (Python):
N = input()

if N.count('9') > 0:
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()
if s[0] == '9' or s[1] == '9':
  print('Yes')
else:
  print('No')

Solution (Python):
n = input()

if '9' in n:
  print('Yes')
else:
  print('No')

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

Solution (Python):
n = input()

print("Yes" if "9" in n else "No")

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

Solution (Python):
N=input()
if N.count('9')>0:
  print('Yes')
else:
  print('No')

Solution (Python):
n=input()
for i in range(len(n)):
    if n[i]=="9":
        print("Yes")
        exit()
print("No")

Solution (Python):
n=int(input())
if n%10==9 or (n-n%10)%100==90:
    print("Yes")
else:
    print("No")

Solution (Python):
n=input()
if n.count('9')>=1:
    print('Yes')
else:
    print('No')

Solution (Python):
s=int(input())
if s%10==9 or s//10==9:
  print("Yes")
else:
  print("No")

Solution (Python):
n = list(input())
if "9" in n:
    print("Yes")
else:
    print("No")

Solution (Python):
import sys
def input(): return sys.stdin.readline().strip()


def main():
    N = input()
    nine = False
    for c in N:
        if c == '9': nine = True
    if nine:
        print("Yes")
    else:
        print("No")



if __name__ == "__main__":
    main()

Solution (Python):
n = input()
if n.count("9")>0:print("Yes")
else:print("No")

Solution (Python):

















import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce
import numpy as np
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def ZIP(n): return zip(*(MAP() for _ in range(n)))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
mod = 10 ** 9 + 7

N = INT()
if (N % 10 == 9 or N // 10 == 9):
    print("Yes")
else:
    print("No")

Solution (Python):
N = input()

print("Yes" if ("9" in N) else "No")

Solution (Python):
n=input()
if "9" in n:
    print("Yes")
else:
    print("No")

Solution (Python):
ary = list(input())
print("Yes") if ary.count("9") > 0 else print("No")

Solution (Python):
def solve():
    N = input()
    if '9' in N:
        print('Yes')
    else:
        print('No')


if __name__ == "__main__":
    solve()

Solution (Python):
a = list(input())

if '9' in a:
    print('Yes')
else:
    print('No')

Solution (Python):
x = str(input())
if '9' in x:
	print('Yes')
else:
	print('No')

Solution (Python):
import sys, re
from math import ceil, floor, sqrt, pi, factorial, gcd
from copy import deepcopy
from collections import Counter, deque
from heapq import heapify, heappop, heappush
from itertools import accumulate, product, combinations, combinations_with_replacement
from bisect import bisect, bisect_left, bisect_right
from functools import reduce
from decimal import Decimal, getcontext

def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_str(N): return [s_list() for _ in range(N)]
def s_row_list(N): return [list(s_input()) for _ in range(N)]
def lcm(a, b): return a * b // gcd(a, b)
sys.setrecursionlimit(10 ** 6)
INF = float('inf')
MOD = 10 ** 9 + 7
num_list = []
str_list = []

def main():
    s = s_input()

    print('Yes' if '9' in s else 'No')


if __name__ == '__main__':
    main()

Solution (Python):
s=set(input())
if "9" in s:
  print("Yes")
else:
  print("No")

Solution (Python):
N=int(input())
print(['No','Yes'][9 in [N%10, (N-N%10)//10]])

Solution (Python):
print(['No','Yes']['9' in input()])

Solution (Python):
import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007


def main():
    N = readline().strip()

    if '9' in N:
        print('Yes')
    else:
        print('No')

    return


if __name__ == '__main__':
    main()

Solution (Python):
n=input()
print('Yes'if n[0]=='9'or n[1]=='9'else'No')

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

Solution (Python):
N=[x for x in input()]
if '9' in N:
  print('Yes')
else:
  print('No')

Solution (Python):
n = input()
if "9" in n:
    print("Yes")
else:
    print("No")

Solution (Python):
N=input()
print("Yes" if "9" in N else "No")

Solution (Python):
print('Yes' if '9' in input() else 'No')

Solution (Python):
n = input()

if "9" in n:
  print("Yes")
else:
  print("No")

Solution (Python):
N=input()

if N.count("9"):
	print("Yes")
else:
	print("No")

Solution (Python):
n=input()
if '9' in n: print('Yes')
else: print('No')

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

Solution (Python):
n = input()
if n.count('9') > 0:
    print('Yes')
else:
    print('No')

Solution (Python):
n = input()

if n.count('9') > 0:
    print('Yes')
else:
    print('No')

Solution (Python):
n = input()

if n[0] == "9" or n[1] == "9":
  print("Yes")
else:
  print("No")

Solution (Python):
print('Yes' if '9' in input() else 'No')

Solution (Python):
a = input()
print("Yes" if '9' in a else "No")

Solution (Python):
s = input()
if '9' in s:
  print("Yes")
else:
  print("No")

Solution (Python):
print("Yes" if "9" in input() else "No")

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

Solution (Python):
print('Yes' if '9' in input() else 'No')

Solution (Python):
N = input()
print("Yes" if "9" in N else "No")

Solution (Python):
a = input()
if a[0] == '9' or  a[1] == '9':
    print('Yes')
else:
    print('No')

Solution (Python):
print('Yes' if '9' in input() else 'No')

Solution (Python):
n = int(input())

b = n%10
a = int(n/10)
if a ==9or b == 9:
  print("Yes")
else:
  print("No")

Solution (Python):
N = input()

if N.count("9") > 0:
    print("Yes")
else:
    print("No")

Solution (Python):
s = input()
if "9" in s:
  print("Yes")
else:
  print("No")

Solution (Python):
n = list(input())

if '9' in n:
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()
print("Yes" if "9" in s else "No")

Solution (Python):
n = str(input())
if n[0] == "9" or n[1] == "9":
	print("Yes")
else:
	print("No")

Solution (Python):
n = input()
if "9" in n:
  print("Yes")
else:
  print("No")

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

Solution (Python):
N=input()
if "9" in list(N):
    print("Yes")
else:
    print("No")

Solution (Python):
n = input()
print(['No','Yes']["9" in n])

Solution (Python):
A=int(input())
B="No"
if A%10==9 or A+10>=100:
  B="Yes"
print(B)

Solution (Python):
print('Yes' if '9' in input() else 'No')

Solution (Python):
N = input().strip()
if N.count("9") > 0:
    print("Yes")
else:
    print("No")

Solution (Python):
n = input()

if '9' in n:
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()
if N[0] == '9' or N[1] == '9':
    print('Yes')
else:
    print('No')

Solution (Python):
N=input()
n=list(N)
if n[0]=='9' or n[1]=='9':
    print('Yes')
else:
    print('No')

Solution (Python):
if '9' in input():
  print("Yes")
else:
  print("No")

Solution (Python):
print('Yes' if '9' in input() else 'No')

Solution (Python):
n_str = input()
print("Yes" if "9" in n_str else "No")

Solution (Python):
check = list(input())
if check[0] == "9" or check[1] == "9":
    print("Yes")
else:
    print("No")

Solution (Python):
import bisect,collections,copy,heapq,itertools,math,string
import sys
def S(): return sys.stdin.readline().rstrip()
def M(): return map(int,sys.stdin.readline().rstrip().split())
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LS(): return list(sys.stdin.readline().rstrip().split())
s = S()
if '9' in s:
    print('Yes')
else:
    print('No')

Solution (Python):
N = str(input())

if "9" in N:
  print("Yes")
else:
  print("No")

Solution (Python):
print('Yes' if '9' in input() else 'No')

Solution (Python):
print("Yes" if "9" in input() else "No")

Solution (Python):
a = input()
if '9' in a:
    print("Yes")
else:
    print("No")

Solution (Python):
n=input()
print('Yes' if '9' in n else 'No')

Solution (Python):
print('Yes'if'9'in input() else'No')

Solution (Python):
t=input()
if '9' in t:
  print("Yes")
else:
  print("No")

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

Solution (Python):
N=input()
 
if "9" in N:
  print("Yes")
else:
  print("No")

Solution (Python):
a,b=map(int,input())
if a==9 or b==9:
    print("Yes")
else:
    print("No")

Solution (Python):
n = input()

if '9' in n:
    print('Yes')
else:
    print('No')

Solution (Python):
def resolve():
    n = input()
    if "9" in n:
        print("Yes")
    else:
        print("No")
resolve()

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

Solution (Python):
n = list(input())
if n[0] == "9" or n[1] == "9":
    print("Yes")
else:
    print("No")

Solution (Python):
if "9" in input():
  print("Yes")
else:
  print("No")

Solution (Python):
s = input()
if '9' in s:
  print('Yes')
else:
  print('No')

Solution (Python):
n = input()
print("Yes") if "9" in n else print("No")

Solution (Python):
N=input()

if "9" in N:
  print("Yes")
else:
  print("No")

Solution (Python):
N = input()
print("Yes" if "9" in N else "No")

Solution (Python):
n = int(input())
if n%10 == 9 or n//10 == 9:
    print("Yes")
else:
    print("No")

Solution (Python):
n = input()
if "9" in n:
    print("Yes")
else:
    print("No")

Solution (Python):

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

Solution (Python):
n = str(input())
if n[0]=='9' or n[1]=='9':
  print("Yes")
else:
  print("No")

Solution (Python):
s=input()
if "9" in s:
    print("Yes")
else:
    print("No")

Solution (Python):
N=input()

if (N[0]=="9") or (N[1]=="9"):
	print("Yes")
else:
	print("No")

Solution (Python):
n = input()
if '9' in n:
  print('Yes')
else:
  print('No')

Solution (Python):
s=input()
if s[0]=="9" or s[1]=="9":
  print("Yes")
else:
  print("No")

Solution (Python):
n = input()
if n[0] == '9' or n[1] == '9':
    print('Yes')
else:
    print('No')

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

Solution (Python):
import sys
N = int(input())
if N < 10 or N > 99:
    sys.exit()

if int(str(N)[0:1]) == 9 or int(str(N)[-1]) == 9:
    print("Yes")
else:
    print("No")

Solution (Python):
x = input()
if x[0] == '9' or x[1] == '9':
  print('Yes')
else:
  print('No')

Solution (Python):
if '9' in input():print('Yes')
else:print('No')

Solution (Python):
x = input()
if "9" in x:
  print("Yes")
else:
  print("No")

Solution (Python):
n = input()
if n.count("9") != 0:
    print("Yes")
else:
    print("No")

Solution (Python):
N=input()
if (N[0]=="9") or (N[1]=="9"):
	print("Yes")
else:
	print("No")

Solution (Python):
N = input()

N_10 = int(N[0])
N_1 = int(N[1])


if (N_10 != 9) and (N_1 != 9):
    print("No")
else:
    print("Yes")

Solution (Python):
n = input()
if '9' in n:
  print('Yes')
else:
  print('No')

Solution (Python):
N = list(input())

if '9' in N:
  print('Yes')
else:
  print('No')

Solution (Python):


n = str(input())

if n[0] == '9' or n[1] == '9':
    print('Yes')
else:
    print('No')

Solution (Python):
print("Yes" if "9" in input() else "No")

Solution (Python):
print("NYoe s"[input().find("9")!=-1::2])

Solution (Python):
s = input()
if '9' in s:
  print('Yes')
else:
  print('No')

Solution (Python):
def actual(N):
    a, b = divmod(N, 10)

    if a == 9 or b == 9:
        return 'Yes'

    return 'No'

N = int(input())
print(actual(N))

Solution (Python):
def actual(N):
    if '9' in str(N):
        return 'Yes'

    return 'No'

N = int(input())
print(actual(N))

Solution (Python):
from fractions import gcd
from collections import Counter, deque, defaultdict
from heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge
from bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort
from itertools import accumulate, product, permutations, combinations

def main():
    N = int(input())

    print('Yes') if '9' in str(N) else print('No')

if __name__ == '__main__':
    main()

Solution (Python):
def main():
    N = str(input())
    if N[0] == '9' or N[1] == '9':
        print('Yes')
    else:
        print('No')
main()

Solution (Python):
N = input()
print("Yes" if "9" in N else "No")

Solution (Python):
N = input()
if "9" in N:
    print("Yes")
else:
    print("No")

Solution (Python):
n = input()
if "9" in n:
  print("Yes")
else:
  print("No")

Solution (Python):
N = input()

if ('9' in N):
    print('Yes')
else:
    print('No')

Solution (Python):
if "9" in input():
  print("Yes")
else:
  print("No")

Solution (Python):
if "9" in input():
  print("Yes")
else:
  print("No")

Solution (Python):
s = input()
print ("Yes") if "9" in s else print ("No")

Solution (Python):
n = input()
if n[0] == '9' or n[1] == '9':
    print("Yes")
else:
    print("No")

Solution (Python):
s = input()

if "9" in s:
  print("Yes")
else:
  print("No")

Solution (Python):
N = list(input())
if "9" in N:
    print("Yes")
else:
    print("No")

Solution (Python):
num=str(input())
 
char=list(num)
 
if char[0]=="9":
	print("Yes")
elif char[1]=="9":
	print("Yes")
else:
	print("No")

Solution (Python):
n = input()
if '9' in n:
  print('Yes')
else:
  print('No')

Solution (Python):
print("Yes") if '9' in input() else print("No")

Solution (Python):
N = input()
if "9" in N: print("Yes")
else: print("No")

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

Solution (Python):
print(['No','Yes']['9' in input()])

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

Solution (Python):
n=input()

if n[0]=='9' or n[1]=='9':
    print('Yes')
else:
    print('No')

Solution (Python):
N = list(input())
print("Yes" if N[0] == "9" or N[1] == "9" else "No")

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

Solution (Python):
n = input()
print('Yes' if '9' in n else 'No')

Solution (Python):
import math

n=input()
for i in range(0,2):
    if(n[i]=="9"):
        print("Yes")
        exit()
print("No")

Solution (Python):
print("Yes" if '9' in input() else "No")

Solution (Python):
N=input()
if "9" in N:
  print("Yes")
else:
  print("No")

Solution (Python):
n = input()
if n[0] == '9' or n[1] == '9': print('Yes')
else: print('No')

Solution (Python):
N = input()
if '9' in N:
    print('Yes')
else:
    print('No')

Solution (Python):
n = input()
if n[0] == '9' or n[1] == '9': print('Yes')
else: print('No')

Solution (Python):
n=input();print('NYoe s'[n[0]=='9' or n[1] =='9'::2])

Solution (Python):
n = str(input())
print("Yes" if "9" in n else "No")

Solution (Python):
li = list(input())
if '9' in li:
  print('Yes')
else:
  print('No')

Solution (Python):
N=input()

if "9" in N:
  print("Yes")
else:
  print("No")