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

Submission status: Wrong Answer

Solution code:
n=int(input())

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

Submission status: Wrong Answer

Solution code:
X = str(input())

if '9' in X:
    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 = input()
if "9" in "N":
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input()
if a[0] == 9 or a[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 = input()

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

Submission status: Wrong Answer

Solution code:
N = str(input())

if "9" == N[0] or "9" == N[1]:
        print( "YES" )
else:
    print( "NO" )

Submission status: Wrong Answer

Solution code:
N = str(input())

if "9" == N[0]:
    if "9" == N[1]:
        print( "YES" )
else:
    print( "NO" )

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
num_str = input()

if '9' in num_str:
    print('yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = input()
nlist =list(n)

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

Submission status: Wrong Answer

Solution code:
n=str(input())
if n[0]==9 or n[1]==9:
  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 = input()
if "9" in N:
  print("YES")
else:
  print("NO")

Submission status: Wrong Answer

Solution code:
N = str(input())
if "9" in N:
  ans = "YES"
else:
  ans ="NO"
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

Solution code:
#二進数に9は入るか
N = input(int())
if N in [19, 29, 39, 49, 59, 69, 79, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99]:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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:
# # Make IO faster
# import sys
# input = sys.stdin.readline

# # get single (or) multiple str
# X = input()

# # get single int
# N = int(input())
# # get multiple int (e.g., 2)
# X, Y = map(int, input().split())
# # get multiple int (e.g., 2) for N lines
# XY = [list(map(int, input().split())) for _ in range(N)]

# from IPython import embed; embed(); exit();

# 全部入り
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")

Submission status: Wrong Answer

Solution code:
n=input()
if n in "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:
print("NYoe s"[input().count("9")::2])

Submission status: Wrong Answer

Solution code:
s = str(input())

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = input()
if N in "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=int(input())
if N%10==9 or N%10==9:
    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:
N = str(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = str(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import random
a=input()
kekka=['Yes','No']
print(random.choice(kekka))

Submission status: Wrong Answer

Solution code:
a=input()
print('Yes')

Submission status: Wrong Answer

Solution code:
s = int(input())

if s % 10 == 9 or s / 10 == 9:
  print('Yes\n')
else:
  print('No\n')

Submission status: Wrong Answer

Solution code:
s = int(input())

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

Submission status: Wrong Answer

Solution code:
n=input()
n=int(n)
og=n
flag=0
while(n>0):
    d=n%10
    n=n//10
    if(d==7):
        flag=flag+1
        
if(flag>0):
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = str(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = input()
if x[0] == 9 or x[1] == 9:
  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:
s=input()
ans=False
for i in s:
  if i=='9':
    ans=False

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

Submission status: Wrong Answer

Solution code:
s=input()
ans=False
for i in range(len(s)):
  if s[i]=='9':
    ans=False

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
n=input()
if n[0]==9 or n[1]==9:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
# coding: utf-8
# Your code here!
n=input()
for i in range(len(n)):
    if n[i] ==9:
        print('Yes')
        break
    else:
        print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=input()
for i in range(len(n)):
    if i ==9:
        print('Yes')
        break
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()

print(int(N[1]))

Submission status: Wrong Answer

Solution code:
N = input()

print(N[1])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = str(input())
cnt = 0
for i in n:
  if n == "9":
    cnt += 1
if cnt >= 1:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
N=input()
number=0
for a in N:
    if int(a)==9:
        print('Yes')
    else:
        number+=1
if number==2:
    print('No')

Submission status: Wrong Answer

Solution code:
arr=raw_input()
ans="No"
for i in range(2):
  if arr[i]==9:
    ans = "Yes"
    break
print ans

Submission status: Wrong Answer

Solution code:
arr=raw_input()
ans="No"
for i in range(len(arr)):
  if arr[i]==9:
    ans = "Yes"
    break
print ans

Submission status: Wrong Answer

Solution code:
arr=raw_input()
ans="No"
for i in range(len(arr)):
  if arr[i]==9:
    ans = "Yes"
  else:
    print ans

Submission status: Wrong Answer

Solution code:
arr=raw_input()
ans="No"
for i in range(len(arr)):
  if arr[0]==9:
    ans = "Yes"
  elif arr[1]==9:
    ans = "Yes"
print ans

Submission status: Wrong Answer

Solution code:
arr=raw_input()
ans="No"
for i in range(len(arr)):
  if arr[i]==9:
    ans = "Yes"
print ans

Submission status: Wrong Answer

Solution code:
arr=raw_input()
for i in range(len(arr)):
  if arr[i]==9:
    print "Yes"
  else:
    print "No"

Submission status: Wrong Answer

Solution code:
arr=map(int,raw_input().split())
for i in range(len(arr)):
  if arr[i]==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 n[0]==9 or n[1]==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=list(input())
print(N)
if N[0]=='9' or N[1]=='9':
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = input()
b = list(a)
num = 0
for i in b:
    if i == "9":
        num = 1
        break
if num == 1:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
b = list(input())
num = 0
for i in b:
    if i == "9":
        num += 1
        break
if num == 1:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
a = int(input())
flg = 0
while a > 0:
	if a % 10 == 9:
		print("Yes")
		flg = 1
		break
	else:
		a = a / 10
if flg == 0:
	print("No")

Submission status: Wrong Answer

Solution code:
x=int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = input()

if n in "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=input()
print("YES" if "9" in n else "NO")

Submission status: Wrong Answer

Solution code:
nStr = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
n = int(input())
a = [int(i) for i in sys.stdin]
a.sort()
b = list(set(a))
count=0
for i in range(len(b)):
  if a.count(b[i])%2!=0:
    count+=1
print(count)

Submission status: Wrong Answer

Solution code:
import sys

stdin = sys.stdin
 
ri = lambda: int(rs())
rl = lambda: list(map(int, stdin.readline().split()))
rs = lambda: stdin.readline().rstrip()  # ignore trailing spaces

N = ri()
print('Yes' if str(N).find('9') else 'No')

Submission status: Wrong Answer

Solution code:
n = int(input())

if n % 13 == 0:
  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 input():print('Yes')
else:print('N0')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
S = input()

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

Submission status: Wrong Answer

Solution code:
S = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())

k = n//10

a = k%9
b = (n - 10*k)%9

if a == 0 or b == 0:
  ans = 'Yes'
else:
  ans = 'No'

if n%10==0:
  ans = 'NO'
  
if n == 90:
	ans = 'Yes'
  
print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())

k = n//10

a = k%9
b = (n - 10*k)%9

if a == 0 or b == 0:
  ans = 'Yes'
else:
  ans = 'No'

if n%10==0:
  ans = 'NO'
  
print(ans)

Submission status: Wrong Answer

Solution code:
n = int(input())

k = n//10

a = k%9
b = (n - 10*k)%9

if a == 0 or b == 0:
  ans = 'Yes'
else:
  ans = 'No'

print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys
s = sys.stdin.readline().rstrip()
print('Yse' if '9' in s else 'No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# ABC073A - September 9
def main():
    N = input().rstrip()
    flg = "g" in N
    print("Yes" if flg else "No")


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
s = input()
a = [int(c) for c in s]

print(9 in a)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
N = list(str(input()))

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

Submission status: Wrong Answer

Solution code:
N = str(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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()
print(n.count('9'))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = int(input())
l = [19, 29, 39, 49, 59, 69, 79, 89, 90, 99]
bl = False
for i in l:
    if N == i:
        bl = True
        break
if bl:
    print('Yes')
else:
    print('No')

Submission status: Wrong Answer

Solution code:
n=int(input())

if n % 10 == 9:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
if int(input()) % 10 == 9:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

Solution code:
if int(input()) % 10 == 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:
a,b = input()
if int(a) == 9 or int(b) == 9:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
a,b = input()

if int(a) == 9 or int(b) == 9:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print('Yes') if int(input())%10 == 9 else print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
print(5)

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:
l = list(input())
for i in l:
    if i == 9:
        print("Yes")
    else:
        print("No")

Submission status: Wrong Answer

Solution code:
l = list(input())

for i in l:
    if i == "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 n[0] == 9 or n[1] == 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:
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:
N = int(input())
a = N/10
b = N-10*a
if a == 9 or b == 9:
  print('Yes')
else:
  print('No')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
input_str=input()
 
if int(input_str[0])==9:
  print("Yes")
elif int(input_str[1])==9:
  print("Yes")

Submission status: Wrong Answer

Solution code:
str=input()
N1=int(str[0])
N2=int(str[1])
 
if N1==9:
  print("Yes")
elif N2==9:
  print("Yes")

Submission status: Wrong Answer

Solution code:
str=input()
num_list=list(str)
N1=int(num_list[0])
N2=int(num_list[1])

if N1==9:
  print("Yes")
elif N2==9:
  print("Yes")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = input()
flag = 0

for i in range(len(N)):
    if N[i] == '9':
        print('Yes')
        flag = 1
if flag == 0:
    print('No')

Submission status: Wrong Answer

Solution code:
n = input()
b = [int(x) for x in list(str(n))]

for i in b:
    if i == 9:
        print("Yes")
        break
    else: 
        print('No')

Submission status: Wrong Answer

Solution code:
n = input()
b = [int(x) for x in list(str(n))]

for i in b:
    if i == 9:
        print("Yes")
        break

Submission status: Wrong Answer

Solution code:
n = input()
b = [int(x) for x in list(str(n))]

for i in b:
    if i == 9:
        print("NO")
        break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=list(map(int,input()))
print(int(9 in N))

Submission status: Wrong Answer

Solution code:
N=list(map(int,input()))
print(9 in N)

Submission status: Wrong Answer

Solution code:
n = list(input())
ans = 0
for s in n:
    if s == '9':
        ans += 1

print(ans)

Submission status: Wrong Answer

Solution code:
print(['No','Yes'][input().count('2')>0])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=map(str,input().replace("",",").split())
if "9" in N:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
N = str(input())
S = N.count("9")
if S == 0:
  print("NO")
else:
  print("YES")

Submission status: Wrong Answer

Solution code:
N = list(input())
l = len(N)

for i in range(l):
  if(N[i] == '9'):
    print('yes')
    exit()
  else:
    continue
    
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:
a=input()

b=list(a)

if(b[0]==9 or b[1]==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:
s = input()

if s[0:1] == '9' or s[1:1] == '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()
print(('No','Yes') [n[1]==9 or n[0]==9])

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import sys

N = input()

for i in N:
    if i == "9":
        print("Yes")
        sys.exit()

print("Np")

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

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


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
print(True if "9" in input() else False )

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a=int(input())
b=[19.29,39,49,59,69,79,89,90,91,92,93,94,95,96,97,98,99]
if b.count(a)!=0:
    print("Yes")
else:
    print("No")

Submission status: Wrong Answer

Solution code:
a=int(input())
b=[19.29,39,49,59,69,79,89,90,91,92,93,94,95,96,97,98,99]
if b.count(a)!=0:
    print("YES")
else:
    print("NO")

Submission status: Wrong Answer

Solution code:
N = int(input())
if N % 10 == 9 or N // 9 == 1:
  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 = input()    
print(('No','Yes')[a[1]!=9 or a[0]!=9])

Submission status: Wrong Answer

Solution code:
a = input()    
print(('No','Yes')[a[1]!=9])

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

Submission status: Wrong Answer

Solution code:
a=""
a=raw_input()
ans=0
for i in range(len(a)-1):
	if a[i]=='9':
		ans=1
if ans==1:
	print 'Yes'
if ans==0:
	print 'No'

Submission status: Wrong Answer

Solution code:
day = input()

if day[0] == '9' or day[1] == '9':
    print('YES')
else:
    print('NO')

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N = input()

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