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):
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):
N = input()
print("Yes" if N.count("9") else "No")

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

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

Solution (Python):
a = int(input())
print(["No", "Yes"][a//10 == 9 or a%10 == 9])

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

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

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

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

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

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

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

Solution (Python):
day = input()

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

Solution (Python):
str_list = list(input())
if (str_list[0]!="9") and (str_list[1]!="9"):
    print("No")
else:
    print("Yes")

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=int(input())
if 90<=N<100:
    print("Yes")
elif (N+1)%10==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):
import math
import sys

def getinputdata():

    
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

n = arr_data[0][0]


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

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

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

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

Solution (Python):
a=list(input())
if a[0]!="9" and a[1]!="9":
  print("No")
else:
  print("Yes")

Solution (Python):
a=input()
if "9" in a:
    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[0] == "9" or n[1] == "9":
  print("Yes")
else:
  print("No")

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

Solution (Python):

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

Solution (Python):





if __name__ == '__main__':
    number = list(map(int, input()))

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

Solution (Python):

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

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

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

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

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

Solution (Python):


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

Solution (Python):
import sys
import math
import collections
import itertools
import array
import inspect


sys.setrecursionlimit(10000)


def chkprint(*args):
    names = {id(v):k for k,v in inspect.currentframe().f_back.f_locals.items()}
    print(', '.join(names.get(id(arg),'???')+' = '+repr(arg) for arg in args))


def to_bin(x):
    return bin(x)[2:]


def dim2input(N):
    li = []
    for _ in range(N):
        li.append(input().split())
    return li



dp = None

def main():
    N = input()

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

main()

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

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

Solution (Python):
n = int(input())
if int(n/10) == 9 or int(n%10) == 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):
a=input()
if(a[0]=="9"):
  print("Yes")
elif(a[1]=="9"):
  print("Yes")
else:
  print("No")

Solution (Python):
N = input()
if N.find("9") != -1:
    print("Yes")
else:
    print("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=list(map(int,input()))
if 1<=n.count(9):
    print("Yes")
else:
    print("No")

Solution (Python):
N = input()
flag = 0
for i in N:
    if i == "9":
        flag = 1

if flag == 1:
    print("Yes")
else:
    print("No")

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

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

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

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

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

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

Solution (Python):
xs = input()
if '9' in xs:
    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):
l = str(raw_input())

l = list(l)
if "9" in l:
    print "Yes"
else:
    print "No"

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

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

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

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

Solution (Python):
n = input()
import sys
for c in n:
    if c == '9':
        print('Yes')
        sys.exit(0)

print('No')

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

Solution (Python):
n=list(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):
print(("No","Yes")["9"in input()])

Solution (Python):
n = 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();N_list=list(N);print(['No','Yes']['9' in N_list])

Solution (Python):

"""
Created on Tue Dec 19 09:31:04 2017

@author: kotania
"""

N = input()

if int(N) > 89 :
    print("Yes")
elif 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 >= 90:
    print("Yes")
elif (N+1)%10 is 0:
    print("Yes")
else:
     print("No")

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

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

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

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

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

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

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

Solution (Python):


def main():
    for c in list(input()):
        if c == '9':
            print("Yes")
            exit()
    print("No")

if __name__ == '__main__':
    main()

Solution (Python):
n = input()
s = len(n)
a = 0
for i in range(s):
	if n[i] == '9':
		print('Yes')
		a = 1
		break
if a == 0:
	print('No')

Solution (Python):
N = int(raw_input())
lis = list(str(N))
if "9" in lis:
	print "Yes"
else:
	print "No"

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

Solution (Python):

n = raw_input()

n_dec = int(n) / 10
n_one = int(n) % 10

if(n_one == 9):
    print("Yes")
elif(n_dec == 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):
a = input()
if(a[0] == "9" or a[1] == "9"):
    print("Yes")
else:
    print("No")

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

Solution (Python):
number = input()
number_sepalated = [int(i) for i in list(str(number))]

if max(number_sepalated) == 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()

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

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

Solution (Python):
n = str(input())
if n.find("9") != -1:
    print("Yes")
else:
    print("No")

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

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

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

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

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

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

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

Solution (Python):
n = input()
if "9" in n:
    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):
a = list(map(int,list(input())))
if (a[0] == 9 or a[1] == 9):
    print("Yes")
else:
    print("No")

Solution (Python):
a = int(input())
 
if (a//10 == 9 or a%10 == 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 = raw_input()
print "Yes" if "9" in N else "No"

Solution (Python):


n = input()

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

print('No')

Solution (Python):
a = input()
b = int(a[0])
c = int(a[1])
if b==9 or c==9:
 print("Yes")
else:
 print("No")

Solution (Python):
N = input()

if '9' in str(N):
    x = 'Yes'
else:
    x = 'No'

print(x)

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

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

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

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

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

Solution (Python):
if "9" in input():
    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):
s=input()
if '9' in s:
  print('Yes')
else:
  print('No')

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

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

Solution (Python):
n = input()

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

Solution (Python):
N= int(input())
n=[]
j=9
c=0
while N!=0:
    n.append(N%10)
    N//=10
n.reverse()

for i in range(len(n)):
    if n[i-1]==j:
        c+=1

if c > 0:
    print("Yes")
else:
    print("No")

Solution (Python):
i = input()

flag = False
for j in i:
    if j == '9':
        flag = True
        break

print('Yes' if flag else '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 list(S):
    print('Yes')
else:
    print('No')

Solution (Python):
import sys
N = list(input())
for tmp in N:
    if tmp == '9':
        print("Yes")
        sys.exit()
    else:
        pass
print("No")

Solution (Python):
n = input()

check = 0
for i in n:
    if i == "9":
        check = 1
        break

if check == 1:
    print("Yes")
else:
    print("No")

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

ans = 0
for i in range(len(x)):
    if int(x[i]) == 9:
        ans = 1
        break
if ans==1:
    print("Yes")
else:
    print("No")

Solution (Python):



def main():
    n = raw_input()
    for i in n:
        if i == "9":
            print "Yes"
            return
    print "No"

main()

Solution (Python):



import itertools

N = raw_input()

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

Solution (Python):
if __name__ == '__main__':
    i = 0
    N = int(input())
    if N-90>0:
        i = 1
    x = (N-9)/10
    if x == int(x):
        i = 1
    if i == 1:
        print('Yes')
    else:
        print('No')

Solution (Python):

import math
a = int(input())
if a%10==9 or math.floor(a/10)==9:
    print ("Yes")
else:
    print ("No")

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

Solution (Python):
def solve(s):
    if "9" in s:
        print("Yes")
    else:
        print("No")

if __name__ == '__main__':
    s = input()
    solve(s)

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

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

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

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

Solution (Python):
S = map(int,input())

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

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

Solution (Python):
def September_9():
    try:
        LOCAL_FLAG
        N = "19"
    except NameError:
        N = input()
    if '9' in N:
        print("Yes")
    else:
        print("No")
        
September_9()

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

Solution (Python):
a = raw_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 [1 for c in input() if c == '9']:
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()

if N%10 == 9:
	print('Yes')
elif N/10 == 9:
	print('Yes')
else :
	print('No')

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

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

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

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

Solution (Python):
print(input().count("9")and"Yes"or"No")

Solution (Python):

s = input()

if '9' in s:
    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 = int(input())
if N+10 >= 100 or (N+1) % 10 == 0:
    print("Yes")
else:
    print("No")

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

num10 = N/10
num1 = N - num10*10

if num10 == 9 or num1 == 9:
	print('Yes')
else:
	print('No')

Solution (Python):
import collections


DEBUG = False



result = 'No'


if DEBUG:
    N = '99'
else:
    N = input()


if N.find('9') >= 0:
    result = 'Yes'
else:
    result = 'No'


print(result)

Solution (Python):


n = int(input())
fst = n % 10
snd = n // 10

if (fst == 9) | (snd == 9):
    print("Yes")
else :
    print("No")

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

first_digit = input % 10
second_digit = int((input - first_digit) / 10)

if first_digit == 9 or second_digit == 9:
    print("Yes")
else:
    print("No")

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

Solution (Python):
p = int(input())
if p % 10 == 9 or 90 <= p <= 99:
    print ("Yes")
else:
    print ("No")

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

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

Solution (Python):
N = input()

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

Solution (Python):
a=raw_input()

a = int (a)

if a%10==9:
    print "Yes"
elif (a/10)%10==9:
    print "Yes"
else :
    print "No"

Solution (Python):
N = input()
print "Yes" if 9 in [N % 10, N / 10] else "No"

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

Solution (Python):
print("Yes" if "9" in input() else "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):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
gosa = 1.0 / 10**10
mod = 10**9+7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()


def main():
    n = I()
    if n%10 == 9 or n//10 == 9:
        return 'Yes'

    return 'No'

print(main())

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

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

Solution (Python):
from collections import defaultdict
from itertools import product, groupby
from math import pi
from collections import deque
from bisect import bisect, bisect_left, bisect_right
INF = 10 ** 10


def main():
    N = input()
    print("Yes" if "9" in N else "No")


if __name__ == '__main__':
    main()

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):
import numpy as np


def getInput():
    """

    :return: list of list of str. 1st dim: row, 2nd dim: column.
    """
    separator = ' '
    ret_array = []
    while True:
        try:
            row = input().split(sep=separator)
            ret_array.append(row)
        except EOFError:
            break
    return ret_array


g = getInput()


p = np.array(list(map(int, g[0])), dtype=np.int32)
h, f = divmod(p, 10)
if h == 9 or f == 9:
    print('Yes')
else:
    print('No')

Solution (Python):
a = int(input())
b = a // 10
c = a % 10

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

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

Solution (Python):
a=int(raw_input())
ichi_kurai=a/10
jyu_kurai=a%10

if ichi_kurai == 9 or jyu_kurai == 9:
    print "Yes"
else:
    print "No"

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

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

Solution (Python):
def ED(a):
    x = [int(x) for x in list(str(a))]
    if 9 in x:
        return 'Yes'
    else:
        return 'No'
x = input()
y = ED(x)
print(y)

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

Solution (Python):
N= int(input())
n=[]
j=9
c=0
while N!=0:
    n.append(N%10)
    N//=10
n.reverse()

for i in range(len(n)):
    if n[i-1]==j:
        c+=1

if c > 0:
    print("Yes")
else:
    print("No")

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

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

Solution (Python):
N = input()
x = 0

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

Solution (Python):
number = int(raw_input())

if number < 10 and number == 9:
    print 'Yes'
elif (number % 10) == 9:
    print 'Yes'
elif (number / 10) == 9:
    print 'Yes'
else:
    print 'No'

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

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

Solution (Python):


n=raw_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 = int(input())
n10 = N//10
n1 = N%10
if n10 == 9 or n1 == 9:
    print("Yes")
else:
    print("No")

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

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

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):
s = input()
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):
def main():
    if '9' in input(): print("Yes")
    else: print("No")


if __name__ == "__main__":
    main()

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


def main():
    NN = input()
    if 10<=int(NN)<=99:
        if NN[0]=='9' or NN[1]=='9':
            print("Yes")
        else:
            print("No")
    return

if __name__=="__main__":
    main()

Solution (Python):


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

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

Solution (Python):
n=int(input())
a=n//10
b=n-10*a
if 9 in [a,b]:
    print('Yes')
else:
    print('No')

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

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

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

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

Solution (Python):
import sys
for i in input():
    if i =='9':
        print("Yes")
        sys.exit()
print("No")

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

Solution (Python):
i = int(input())
a = int(i/10)
b = i%10
if a == 9 or b == 9:
    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):
N = int(raw_input())
print 'Yes' if '9' in str(N) else 'No'

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

Solution (Python):
import sys




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


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


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    n = read_str()
    if '9' in n:
        print('Yes')
    else:
        print('No')


main()

Solution (Python):
a=list(str(input()))
ch=0
for i in a:
    if i=="9":
        ch=1
if ch==1:
    print "Yes"
else:
    print "No"

Solution (Python):
import atexit
import io
import sys

temp_buffer = io.BytesIO()
sys.stdout = temp_buffer


@atexit.register
def write():
    sys.__stdout__.write(temp_buffer.getvalue())


n = raw_input()
print("Yes" if '9' in n else "No")

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

if(len(a) == 2):
	if(a[0] == 9):
		print('Yes')
	elif(a[1] == 9):
		print('Yes')
	else:
		print('No')

else:
	if(a[0] == 9):
		print('Yes')
	else:
		print('No')

Solution (Python):
n = raw_input()

index = n.find("9")

if index >= 0:
    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 "9" in n:
    print("Yes")
else:
    print("No")

Solution (Python):
from sys import stdin
ans = 'No'
a = stdin.readline().strip()
if '9' in a:
 ans = 'Yes'
print ans

Solution (Python):
import sys

N = int(sys.stdin.readline())
n1 = N % 10
n2 = int((N - n1) / 10)

if n1 == 9 or n2 == 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):
print "Yes" if "9" in raw_input() else "No"

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

if N%10 == 9:
    print('Yes')
elif N >= 90:
    print('Yes')
else:
    print('No')

Solution (Python):
n = str(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 str(n)[0]=="9" or str(n)[1]=="9":
  print("Yes")
else:
  print("No")

Solution (Python):
num = input()
num = str(num)
isthere = False
for i in range(0, 2):
	if num[i] == '9':
		isthere = True

if isthere:
	print('Yes')
else:
	print('No')

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

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

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

Solution (Python):
def solve(): 
    n = int(input())
    n_10 = n // 10
    n_1 = n - n_10 * 10

    if n_10 == 9 or n_1 == 9:
        print("Yes")
    else:
        print("No")
        

solve()

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

Solution (Python):
n = input()

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

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

    N_10 = N//10
    N_1 = N - N_10*10

    if N_10==9:
        print('Yes')
    elif N_1==9:
        print('Yes')
    else:
        print('No')


if __name__=='__main__':
    main()

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

Solution (Python):
import numpy as np
hoge = input()
hoge = int(hoge)
if hoge//10 == 9 or hoge%10 == 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[0] == '9' or N[1] == '9' else 'No')

Solution (Python):


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

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


if __name__ == "__main__":
    main()

Solution (Python):
import copy
import sys
import numpy as np

from math import *
def get_read_func(fileobject):
    if fileobject == None :
        return raw_input
    else:
        return fileobject.readline

def main():
    if len(sys.argv) > 1:
        f = open(sys.argv[1])
    else:
        f = None
    read_func = get_read_func(f);
    input_raw = read_func().strip().split()
    [N] = [int(input_raw[0])]
    if int(N/10) == 9 or int(N % 10) == 9:
        print "Yes"
    else:
        print "No"

if __name__ == '__main__':
    main()

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

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

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

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

if  (n>89) or (n%10==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):
value = int(input())
if value // 10 == 9 or value % 10 == 9:
	print("Yes")
else:
	print("No")

Solution (Python):
import sys




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


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


def read_int():
    return int(input())


def read_str():
    return input()


def main():
    n = read_int()
    l = [9, 19, 29, 39, 49, 59, 69, 79, 89, 99, 98, 97, 96, 95, 94, 93, 92, 91, 90]
    if n in l:
        print('Yes')
    else:
        print('No')


main()

Solution (Python):
N = 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 = int(input())
found9 = False
while N > 0:
    rem = N % 10
    if rem == 9:
        print("Yes")
        found9 = True
        break
    N = N // 10
if not found9:
    print("No")

Solution (Python):
N = input()

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

Solution (Python):
N = input()

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

Solution (Python):
S = input()

def function(mode):
    if "9" in mode:
        x = "Yes"
    else:
        x = "No"
    return x
print(function(S))

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

Solution (Python):
inp = input()

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

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

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

Solution (Python):
def hantei(N):
    N = str(N)
    for i in N:
        if i == '9': return 'Yes'
    return 'No'

def main():
    N = input()
    print hantei(N)

if __name__ == '__main__':
    main()

Solution (Python):

import sys
if __name__ == '__main__':
    line = sys.stdin.readline()
    N = line
    if N.find('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('Yes')
else:
    print('No')

Solution (Python):
N=input()
print "Yes" if N%10==9 or N/10==9 else "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()

for i in range(len(N)):
    if N[i] == "9":
        print("Yes")
        exit()

print("No")

Solution (Python):
a=input()
bl = False
while a != 0:
  if a % 10 == 9:
    bl = True
    break
  a = a/10
if bl:
  print "Yes"
else:
  print "No"

Solution (Python):
n = raw_input()

l = [int(x) for x in list(str(n))]
if l[0] == 9:
	print("Yes")
elif l[1] == 9:
	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 'No')