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



data = list(input())
flag = 0

for i in data:
    if int(i) == 9:
        print("Yes")
        flag = 1
        break
    
if flag == 0:
    print("No")

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

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

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

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

for i in range(len(n)):
    if n[i] == "9":
        print("Yes")
        t =0
        break
       
if t: print("No")

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

Solution (Python):
tmp=map(int, raw_input())

output="No"
for i in set(tmp):
    if i==9:
        output="Yes"
print output

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

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

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

Solution (Python):


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

Solution (Python):
inn = input()
ans = "No"
if inn[0] == "9":
    ans = "Yes"
if inn[1] == "9":
    ans = "Yes"
print(ans)

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

f=0
for a in s:
    if a=='9':
        f=1
if f==1:
    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 "No")

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

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

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

Solution (Python):





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

if __name__ == "__main__": main()

Solution (Python):
N = input()
try:
  N.index('9')
  print('Yes')
except:
  print('No')

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

Solution (Python):
N=raw_input()

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

Solution (Python):
number_list = list(input())
if '9' in number_list:
    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):
x=int(raw_input())

x10=int(x/10)
x1=x-x10*10
if x10==9 or x1==9:
    print("Yes")
else:
    print("No")

Solution (Python):


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

Solution (Python):
def spaceinput():
    return list(map(int,input().split(" ")))


N=list(str(int(input())))

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

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

Solution (Python):


import sys


def main():
    for line in sys.stdin:
        if "9" in line.rstrip():
            print("Yes")
        else:
            print("No")


if __name__ == "__main__":
    main()

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

solution()

Solution (Python):

"""
"""


def solve(data):
    if '9' in data:
        return True
    else:
        return False


def main():
    data = input()
    result = solve(data)
    if result:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    main()

Solution (Python):

N = raw_input()
out = 'No'
for i in N:
    if i == '9':
        out = 'Yes'
        break
print out

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 input().find('9')!=-1:
    print("Yes")
else:
    print("No")

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

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

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

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

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

flag = False
if N[0] == "9":
    flag = True
if N[1] == "9":
    flag = True

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

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

Solution (Python):
import sys

stdin = sys.stdin

ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline()

print("Yes" if "9" in ns() else "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):

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

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

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

Solution (Python):

a = raw_input()
p = False
for x in a:
	if x == '9':
		p = True
if p:
	print("Yes")
else:
	print("No")

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

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

Solution (Python):



n = raw_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):
def main():
    N = input()

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

main()

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

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

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

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

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

Solution (Python):


num = int(input())

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

Solution (Python):


import sys

def main(argv):
    for line in sys.stdin:
        if "9" in line:
            print("Yes")
        else:
            print("No")

if __name__ == "__main__":
    main(sys.argv)

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

Solution (Python):


import os
import sys
import math
import numpy as np


N = input()

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

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

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

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

Solution (Python):
s = input()

flag = 0
for i in s:
    if i == "9":
        flag = 1

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

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

a()

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

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

Solution (Python):
N=raw_input()

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

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

Solution (Python):
n = str(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 = int(input())

if N // 10 == 9 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):
print('Yes'if '9' in input() 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 '9' in N:
	print("Yes")
else:
	print("No")

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

Solution (Python):


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

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

Solution (Python):

import heapq
import math

a = input()
b = False
for aa in a:
    if aa == '9':
        b = True
print('Yes' if b else 'No')

Solution (Python):
N = input()
ans = "9" in N
if ans == True:
    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):

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


def get_ln_int_inputs():
    return list(map(int, get_ln_inputs()))


def main():
    N = get_ln_int_inputs()[0]
    if N % 10 == 9 or N >= 90:
        print("Yes")
    else:
        print("No")
    return


main()

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

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

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