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



Sample input:
29


Sample output:
Yes

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = input()
if N.find("9") != -1:
    print("Yse")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
N = input()
# print(N.find("9"))
if N.find("9") != -1:
    print("Yse")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
n=list(map(int,input()))
if 1<=n.count("9"):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
print("YNeos"[input().count("9")<0::2])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
l = map(int, raw_input().split())

l = list(l)

if 9 in l:
    print "Yes"
else:
    print "No"

Submission status: Wrong Answer

Solution code:
a = input()
if "9" in a:
  print("Yes")
else :
  print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
if n / 10 == 9 or n % 10 == 9:
  print("yes")
else :
  print("no")

Submission status: Wrong Answer

Solution code:
n = input()
for c in n:
    if c == '9':
        print('Yes')
    else:
        print('No')

Submission status: Wrong Answer

Solution code:
N=input();N_list=list(str());print(['Yes','No']['9' in N_list])

Submission status: Wrong Answer

Solution code:
# 今日、日本は9月9日である。
# 2桁の整数Nが与えられる。
# Nに9が含まれるか調べ、含まれていればYes、そうでなければNoを出力する

def September9(num):
    if (num // 10) == 9: 
        print("Yes")
    elif (num % 10) == 9:    
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    while True:
        try:
            N = int( input("2桁の整数Nを入力してください。:" ))
            if (10 <= N) & (N <= 99):
                break
            else:
                print("入力された整数が2桁の整数ではありません。")
                print("-----------------------------------------")
                continue
        except ValueError:
            print("2桁の整数Nを正しく入力してください。")
            print("-----------------------------------------")
        
    September9(N) # September9()の実行

Submission status: Wrong Answer

Solution code:
# 今日、日本は9月9日である。
# 2桁の整数Nが与えられる。
# Nに9が含まれるか調べ、含まれていればYes、そうでなければNoを出力する

def September9(num):
    if (num // 10) == 9: 
        print("Yes")
    elif (num % 10) == 9:    
        print("Yes")
    else:
        print("No")


if __name__ == "__main__":
    while True:
        try:
            N = int( input("2桁の整数Nを入力してください。:" ))
            if (10 <= N) & (N <= 99):
                break
            else:
                print("入力された整数が2桁の整数ではありません。")
                print("-----------------------------------------")
                continue
        except ValueError:
            print("2桁の整数Nを正しく入力してください。")
            print("-----------------------------------------")
        
    print(" ######## Result ######## ")
    September9(N) # September9()の実行

Submission status: Wrong Answer

Solution code:
num = input()
print("Yes" if num.find("9") else "No")

Submission status: Wrong Answer

Solution code:
N = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = input()

if '9' in N:
	print('YES')
	
else:
	print('NO')

Submission status: Wrong Answer

Solution code:
N = int(input())

if N==19 or N==29 or N==39 or N==49 or N==59 or N==69 or N==79 or N==89 or N==99:
	print("YES")

else:
	print('NO')

Submission status: Wrong Answer

Solution code:
N = input()
A = 0
if N.count('9') != 0:
	print("YES")

else:
	print('NO')

Submission status: Wrong Answer

Solution code:
print("Yes" if input()[-1] == "9" else "No")

Submission status: Wrong Answer

Solution code:
N = input()
if '9'in N:
    print('yes')
else:
    print('no')

Submission status: Wrong Answer

Solution code:
import re
N = input()
if re.search('9', N):
    print('yes')
else:
    print('no')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = int(input())

if (a//10 == 9 or a%10 == 9):
    print("yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a = int(input())

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

Submission status: Wrong Answer

Solution code:
s = int(raw_input())
if (s/10==9 or s%10==9):
    print "Yes"

Submission status: Wrong Answer

Solution code:
print("YES" if ("9" in list(input())) else "NO")

Submission status: Wrong Answer

Solution code:
#! /bin/python
# coding:utf-8

import itertools

N = raw_input()

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
a = int(input())
if a%10==9 or a/10==9:
    print ("Yes")
else:
    print ("No")

Submission status: Wrong Answer

Solution code:
s = input()
pos = s.find('9')
if pos != -1:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
if [1 for c in input() if c == '9']:
    print('yes')
else:
    print('no')

Submission status: Wrong Answer

Solution code:
print(sum([c == '9' for c in input()]))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input()
a.find("9")
if a == 0 or a == 1:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

# -*- coding: utf-8 -*-

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

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

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

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

Submission status: Wrong Answer

Solution code:
N = int(input())
if N//10 == 9 or N%10 == 9:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
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"

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = input()
print("YES" if n[0]=='9' or n[1]=='9' else "NO")

Submission status: Wrong Answer

Solution code:
if '9' in raw_input():
	print "YES"
else:
	print "NO"

Submission status: Wrong Answer

Solution code:
# n = int(input()
i = int(input())
a = int(i/10)
b = i%10
print(i)
if a == 9 or b == 9:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
for i in range(10,100):
    a = int(i/10)
    b = i%10
    print(i)
    if a == 9 or b == 9:
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:

n = int(input())

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

Submission status: Wrong Answer

Solution code:
# pythonを使用してABCと解いていきます
n = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = list(map(int, input().split()))

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

Submission status: Wrong Answer

Solution code:
n = raw_input()

index = n.find("9")

if index > 0:
    print "Yes"
else:
    print "No"

Submission status: Wrong Answer

Solution code:
from sys import stdin

i = int(stdin.readline())

check = True

while(i > 0):
	j = i % 10
	#if j == 9:
	#	print 'Yes'
	#	check = False
		#break
	i /= 10
	
if check:
	print 'No'

Submission status: Wrong Answer

Solution code:
from sys import stdin

i = int(stdin.readline())

check = True

while(i > 0):
	j = i % 10
	if j == 9:
		print 'Yes'
		check = False
		#break
	i /= 10
	
#if check:
#	print 'No'

Submission status: Wrong Answer

Solution code:
from sys import stdin

i = int(stdin.readline())

check = True

while(i > 0):
	j = i % 10
	if j == 9:
		print 'Yes'
		check = False
	i /= 10
	
if check:
	print 'No'

Submission status: Wrong Answer

Solution code:
i = int(raw_input("Enter number"))

check = True

while(i > 0):
	j = i % 10
	if j == 9:
		print 'Yes'
		check = False
	i /= 10
	
if check:
	print 'No'

Submission status: Wrong Answer

Solution code:
i = raw_input("Enter number")

i = int(i)

check = True

while(i > 0):
	j = i % 10
	if j == 9:
		print 'Yes'
		check = False
	i /= 10
	
if check:
	print 'No'

Submission status: Wrong Answer

Solution code:
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')

Submission status: Wrong Answer

Solution code:
i = input("Enter number")
 
while(i > 0):
	j = i % 10;
	if j == 9:
		print 'Yes'
	i /= 10;
print 'No'

Submission status: Wrong Answer

Solution code:
n = str(input())

if "9" in n:
    print("yes")
else:
    print("no")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

print(x//10)

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

Submission status: Wrong Answer

Solution code:
x = int(input())

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

Submission status: Wrong Answer

Solution code:
N = input()
result = "NO"
for i in N:
    if i == '9':
        result = "YES"
print(result)

Submission status: Wrong Answer

Solution code:
import numpy as np
hoge = input()
hoge = int(hoge)
if hoge//10 == 9 or hoge%10 == 9: 
    print("yes")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
def main():
    n = input()
    if '9' in n:
        print("YES")
    else:
        print("NO")


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
inp = input()

if '9' in inp:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
inp = int(input())

in1 = inp // 10
in2 = inp % 10
if in1 == 9 or in2 == 9:
  print('YES')
else:
  print('NO')

Submission status: Wrong Answer

Solution code:
N = input()
if "9" in N:
    print("yes")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
value = int(input())
if value / 10 == 9 or value % 10 == 9:
	print("yes")
else:
	print("no")

Submission status: Wrong Answer

Solution code:
a = int(input())

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

Submission status: Wrong Answer

Solution code:
N = int(input())

if N%10 == 9:
    print("yes")
elif N >= 90:
    print("yes")
else:
    print("no")

Submission status: Wrong Answer

Solution code:
s=str(input())

f=0
for a in s:
    if a=='9':
        f=1
if f==1:
    print('Yes')
else:
    print('NO')

Submission status: Wrong Answer

Solution code:
N = input()
print('YES' if '9' in N else 'NO')

Submission status: Wrong Answer

Solution code:
s = input()
print('yes') if '9' in s else print('no')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

N = int(input())

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

else:
    print('No')

Submission status: Accepted

Solution code:
n = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = input()

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
n = input('')

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

Submission status: Accepted

Solution code:
n = input()

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

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
A = set(input())

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

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

Solution code:
N = int(input())

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

Submission status: Accepted

Solution code:
N = int(input())

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

Submission status: Accepted

Solution code:
N = str(input())

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

print(answer(N))

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
X = str(input())

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

Submission status: Accepted

Solution code:
N = list(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

# 標準入力から N を取得する
n = int(input())

result = ""
if n % 10 == 9: # 1の位が 9
    result = "Yes"
elif 90 <= n % 100 < 100:   # 10の位が 9
    result = "Yes"
else:
    result = "No"

print(result)

Submission status: Accepted

Solution code:
N = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#93
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')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - September 9
# https://atcoder.jp/contests/abc073/tasks/abc073_a

n = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 073a

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

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

Submission status: Accepted

Solution code:
N = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

Solution code:
N = str(input())

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

print(result)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# A - September 9

N = input()
my_list = []

for i in N:
    my_list.append(i)

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

Submission status: Accepted

Solution code:
# 1の位、10の位に9が含まれているかの判定

N = input()

if "9" in N:        # in: 含まれていたらTrue
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())

# 二桁の整数 N が与えられるので、
# 9 が含まれるとき Yes 、含まれないとき No を出力せよ。

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# 数値を取得
N = str(input())

# 文字列を検査し結果を出力
if "9" in N:
    print("Yes")
else:
    print("No")

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
str_num = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = input()

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

Submission status: Accepted

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

Submission status: Accepted

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


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
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')

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding = SJIS

n = str(input())

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = list(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

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

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

Submission status: Accepted

Solution code:
#https://atcoder.jp/contests/abc073/tasks/abc073_a

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = input()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#k = int(input())
#s = input()
#a, b = map(int, input().split())
#s, t = map(str, input().split())
#l = list(map(int, input().split()))
#l = [list(map(int,input().split())) for i in range(n)]
#a = [list(input()) for _ in range(n)]
#a = [int(input()) for _ in range(n)]


n = input()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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