Problem:
 Score : 100 points    Problem Statement Given is a three-digit integer N . Does N contain the digit 7 ?  If so, print Yes ; otherwise, print No .      Constraints  100 \leq N \leq 999         Input Input is given from Standard Input in the following format:  N       Output If N contains the digit 7 , print Yes ; otherwise, print No .        Sample Input 1 117      Sample Output 1 Yes  117 contains 7 as its last digit.       Sample Input 2 123      Sample Output 2 No  123 does not contain the digit 7 .       Sample Input 3 777      Sample Output 3 Yes

Solution (Python):
N = input()

N0 = N[0]
N1 = N[1]
N2 = N[2]


if N0 == "7":
    print("Yes")
else:
    if N1 == "7":
        print("Yes")
    else:
        if N2 == "7":
            print("Yes")
        else:
            print("No")

Solution (Python):
N=input()

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

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

Solution (Python):
n = input()

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

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

Solution (Python):
n = input()

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

Solution (Python):
a = input()
len_a =  len(a)
seven = 0
for i in range(len_a):
    if a[i] =="7":
        seven = 1
if  seven == 1:
    print("Yes")
else:
    print("No")

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

Solution (Python):
N = input()

def ans(N):
    for n in N:
        if n == "7":
            return "Yes"
    return "No"

print(ans(N))

Solution (Python):
N=input()

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

Solution (Python):


n = input()
if "7" in n:
    print("Yes")
else:
    print("No")

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

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

Solution (Python):




import sys
input = sys.stdin.readline



def main():
    N = input().rstrip()

    if (N[0] == '7') | (N[1] == '7') | (N[2] == '7'):
        print('Yes')
    else:
        print('No')



main()

Solution (Python):
a = input()

cnt = 0

for i in range(3):
    if int(a[i]) == 7:
        cnt += 1
    else:
        pass

if cnt == 0:
    print('No')
else:
    print('Yes')

Solution (Python):
a = 'No'
n = input()
for i in n:
    if i=='7':
        a='Yes'
print(a)

Solution (Python):
N=input()
lis=[N]
if "7" in N:
    print("Yes")
else:
    print("No")

Solution (Python):
def main():
    N = list(input())
    if "7" in N:
        print("Yes")
    else:
        print("No")
if __name__ == '__main__':
    main()

Solution (Python):
n = input()
a = 0
li = list(n)

for i in li:
    if i == '7':
        a += 1
        
if a >= 1:
    print("Yes")
else:
    print('No')

Solution (Python):
a=input()
p=a.count("7")
if p>0:
	print("Yes")
else:
	print("No")

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

Solution (Python):
N = str(input())
array = list(map(str,N))
i= 0
while all:
    if(array[i]=='7'):
        print("Yes")
        break
    if(i==2):
        print("No")
        break
    i+=1

Solution (Python):
import sys


n=input()

for i in range(len(n)):
    if n[i] == "7":
        print("Yes")
        sys.exit()

print("No")

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

a = list(map(int, list(str(n))))

if a[0]==7 or a[1]==7 or a[2]==7:
  print('Yes')
else:
  print('No')

Solution (Python):





n = input()
flag = 0
for i in n:
    if i == "7":
        flag = 1
        break

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

Solution (Python):

N = input()

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

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

Solution (Python):
N = input()
list_a = []

for i in range(0,3):
    list_a.append(N[i])

if "7" in list_a:
    print("Yes")
else:
    print("No")

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

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

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

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

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

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

Solution (Python):
list = str(input())
if str(7) in list:
    print('Yes')
else:
    print('No')

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

c = str(N)
for i in c:
	if i == '7':
		print('Yes')
		exit()
	
print('No')

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

Solution (Python):
lists = [x for x in str(input())]
print("Yes" if '7' in lists else 'No')

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

Solution (Python):
n = int(input())
jud = False
while n>0:
	m = n % 10
	if m == 7:
		jud = True
	n //= 10
if jud:
	print('Yes')
else:
	print('No')

Solution (Python):
import sys
n=input()
for i in range(3):
  if n[i]=='7':
    print('Yes')
    sys.exit()
print('No')

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

Solution (Python):


s = input()

if '7' in s:
    print('Yes')
else:
    print('No')

Solution (Python):
import re
input_line = input()

if re.search('7',input_line):
  print('Yes')
else:
  print("No")

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

Solution (Python):
N = input()
ans = False
for n in N:
    if n == "7":
        ans = True
if ans:
    print("Yes")
else:
    print("No")

Solution (Python):
import sys
readline = sys.stdin.buffer.readline
def even(n): return 1 if n%2==0 else 0

s = readline().rstrip().decode('utf-8')
if "7" in s:
	print("Yes")
else:
	print("No")

Solution (Python):
a = input()
if not (a[0] == "7" or a[1] == "7" or a[2] == "7"):
    print("No")
else:
    print("Yes")

Solution (Python):
N = [int(x) for x in list(str(input()))]

for i in N:
    if i == 7:
        print("Yes")
        exit()

print("No")

Solution (Python):
N = int(input())
a = N // 100
b = (N - a * 100) // 10
c = (N - a * 100 - b * 10)

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

Solution (Python):
letter = input()
ans = 'No'
if('7' in letter):
    ans = 'Yes'
print(ans)

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

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

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

if b[0] == 7:
    print("Yes")
elif b[1] == 7:
    print("Yes")
elif b[2] == 7:
    print("Yes")
else:
    print("No")

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

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



if __name__ == "__main__":
    main()

Solution (Python):
a = input()
b = 0
for i in a:
    i = int(i)
    if i == 7:
        b += 1
if b == 0:
    print("No")
else:
    print("Yes")

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

Solution (Python):

n = input()
if "7" in n:
    print("Yes")
else:
    print("No")

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

Solution (Python):













n = input()

ans = "No"
if "7" in n:
    ans = "Yes"

print(ans)

Solution (Python):
s = input()
for n in s:
  if(int(n) == 7):
    print("Yes")
    exit()
print("No")

Solution (Python):
def resolve():
    n = input()
    for i in range(3):
        if n[i] == "7":
            print("Yes")
            exit()
    print("No")
resolve()

Solution (Python):
n = input()

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

Solution (Python):
N = int(input())
a = N % 10
b = (N // 10) % 10
c = N // 100
if a == 7 or b == 7 or c == 7:
  print("Yes")
else:
  print("No")

Solution (Python):

tmp = input()

tmp2 = tmp[0]
tmp2 = tmp[1]
tmp2 = tmp[2]

if (tmp[0] == "7" or tmp[1] == "7" or tmp[2] == "7"):
    print("Yes")
else:
    print("No")

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

for i in range(3):
    if s[i] == '7':
        print('Yes')
        exit()

print('No')

Solution (Python):
s = input()

print('No') if s.find('7') == -1 else print('Yes')

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

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

Solution (Python):
n = list(input())
if (int(n[0])-7)*(int(n[1])-7)*(int(n[2])-7)==0:
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()

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

Solution (Python):
n=str(input())
a=[]
for i in range(3):
    a.append(int(n[i]))
if 7 in a:
    print('Yes')
else:
    print('No')

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

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

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


if __name__ == "__main__":
    main()

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

Solution (Python):
N = input()

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

Solution (Python):
N = input()

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

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

Solution (Python):
n = input()

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

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

Solution (Python):
N = input()

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

Solution (Python):
n = input().strip()
print('Yes' if '7' in n else 'No')

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

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

Solution (Python):
N=int(input())
a=int(N/100)
b=N%100
c=int(b/10)
d=b%10
        
if a==7 or c==7 or d==7:
    print('Yes')
else:
    print('No')

Solution (Python):
a=int(input())
hantei=0
if (str(a)[0]=='7')or(str(a)[1]=='7')or(str(a)[2]=='7'):
    print('Yes')
else:
    print('No')

Solution (Python):
a=list(input())
for i in a:
    if i=='7':
        print("Yes")
        exit()
print("No")

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

Solution (Python):

a = int(input())
b = str(a)
count = 0
for i in b:
  if i=='7':
      count = count + 1
if count>=1:
    print("Yes")
else:
    print("No")

Solution (Python):
N = input()

for n in list(N):
    if n == "7":
        print("Yes")
        break
else:
    print("No")

Solution (Python):
n = int(input())
n1 = n%10
n2 = (n//10)%10
n3 = (n//100)%10

if (n1==7) | (n2==7) | (n3==7):
  print('Yes')
else:
  print('No')

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

Solution (Python):
num = input()

if '7' in num:
    print ('Yes')
else:
    print ('No')

Solution (Python):
N = input()

N_list = [int(i) for i in N]

if 7 in N_list:
  print("Yes")
else:
  print("No")

Solution (Python):
N = input()

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

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

ans = False

for e in n:
    if e == 7:
        ans = True
        break

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

Solution (Python):
ns = list(map(int, input()))
print('Yes' if 7 in ns else 'No')

Solution (Python):
from collections import *
from heapq import *
from itertools import *
from fractions import gcd

from decimal import *
import copy
from bisect import *
import time
import sys
import math
input=lambda :sys.stdin.readline().rstrip()
sys.setrecursionlimit(10**7)
N=input()


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

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

Solution (Python):
import sys

n = list(input())

for i in range(3):
	if n[i] == '7':
		print('Yes')
		sys.exit()

print('No')

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

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

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

Solution (Python):
n=input()
for i in n:
    if i=="7":
        print('Yes')
        exit()
print('No')

Solution (Python):

N = int(input())
if N // 100 == 7:
    print('Yes')
elif (N - (N // 100) * 100) // 10 == 7:
    print('Yes')
elif N % 10 == 7:
    print('Yes')
else:
    print('No')

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

if n[0]=='7' or n[1]=='7' or n[2]=='7':
    ans = "Yes"
else:
    ans = "No"
print(ans)

Solution (Python):
N = input()

l = [int(x) for x in list(str(N))]

if int(7) in l:
  print('Yes')
else:
  print('No')

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

while n > 0:
  if n%10 == 7:
    print('Yes')
    exit()
  n //= 10
print('No')

Solution (Python):
N = input()

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

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

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

Solution (Python):


          
  
def main():
    n = input()
    if n[0] == '7' or n[1] == '7' or n[2] == '7':
        print('Yes')
    else:
        print('No')
        
    
        
  
if __name__ == '__main__':
    main()

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

Solution (Python):
n = input()
sn = [n[i] for i in range(len(n))]

if '7' in sn:
  print('Yes')
else:
  print('No')

Solution (Python):
n=list(input())
c=0
for i in range(3):
    if n[i]=="7":
        c=1
print("Yes" if 0<c else "No")

Solution (Python):
N = input()
n = 0
if N[0] =="7":
	n += 1
if N[1] == "7":
	n +=1
if N[2] == "7":
	n += 1
 
if n > 0:
	print("Yes")
else:
	print("No")

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

Solution (Python):

N = int(input())

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

Solution (Python):
n=input()
count=0
if n[0]=="7":
    count+=1
if n[1]=="7":
    count+=1
if n[2]=="7":
    count+=1
if count>0:
    print('Yes')
else:
    print('No')

Solution (Python):

def q1():
    N = list((input()))
    if N.count('7') > 0:
        print('Yes')
    else:
        print('No')

        
if __name__ == '__main__':
    q1()

Solution (Python):
def main():
  K = str(input())

  if K[0] == '7' or K[1] == '7' or K[2] == '7':
    print('Yes')
  else:
    print('No')

if __name__ == "__main__":
  main()

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

Solution (Python):
N=input()
for a in N:
    if a=="7":
        print("Yes")
        break
else:
    print("No")

Solution (Python):
N = input()
flag = -1

for i in N:
  if i == "7":
    flag = 1
    break

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

Solution (Python):
n = input()
for s in n:
    if s == '7':
        print('Yes')
        exit()
print('No')

Solution (Python):
s = list(str(input()))
import sys
for i in s:
    if i == '7':
        print('Yes')
        sys.exit()
print('No')

Solution (Python):










"""def kiri(n,m):
  r_ = n / m
  if (r_ - (n // m)) > 0:
    return (n//m) + 1
  else:
    return (n//m)"""
 
""" n! mod m 階乗
mod = 1e9 + 7
N = 10000000
fac = [0] * N
def ini():
  fac[0] = 1 % mod
  for i in range(1,N):
    fac[i] = fac[i-1] * i % mod"""
 
"""mod = 1e9+7
N = 10000000
pw = [0] * N
def ini(c):
  pw[0] = 1 % mod
  for i in range(1,N):
    pw[i] = pw[i-1] * c % mod"""
 
"""
def YEILD():
  yield 'one'
  yield 'two'
  yield 'three'
generator = YEILD()
print(next(generator))
print(next(generator))
print(next(generator))
"""
"""def gcd_(a,b):
  if b == 0:
    return a
  return gcd_(a,a % b) 
"""def extgcd(a,b,x,y):
  d = a
  if b!=0:
    d = extgcd(b,a%b,y,x)
    y -= (a//b) * x
    print(x,y)
  else:
    x = 1
    y = 0
  return d"""
 

"""def gcd(a,b):
  if b == 0:
    return a
  return gcd(b, a % b)
def lcm(a,b):
  g = gcd(a,b)
  return (a * b) // g"""
 

"""import bisect 
print(A,bisect.bisect_left(A,4))
print(C,n - bisect.bisect_right(C,4))
print(sum(bisect.bisect_left(A,b) * (n-bisect.bisect_right(C,b)) for b in B))"""
 

"""import math
pi_ = math.pi"""
 

"""def Erato(n):
    prime = []
    is_prime = [True] * (n+1)
    p = 0
    is_prime[0] = False
    is_prime[1] = False
    for i in range(2,n+1):
      if is_prime[i] == True:
        prime.append(i)
        p += 1
        for j in range(2 * i,n+1,i):
          is_prime[j] = False
    return p"""
 
def readInts():
  return list(map(int,input().split()))
mod = 10**9 + 7
def main():
  s = list(input())
  if s.count('7'):
    print('Yes')
  else:
    print('No')
if __name__ == '__main__':
  main()

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

Solution (Python):
import sys

n = str(input())

for i in range(3):
    if n[i] == '7':
        print("Yes")
        sys.exit()
    
print("No")

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

a=N//100
b=(N%100)//10
c=(N%100)%10

if a==7 or b==7 or c==7:
  print('Yes')
else:
  print('No')

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

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

print("No")

Solution (Python):
L = list(input())
if "7" in L:
  print("Yes")
else:
  print("No")

Solution (Python):
N = input()

cnt = 0
for i in N:
    if i in '7':
        cnt +=1

if cnt != 0:
    print('Yes')
else:
    print('No')

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

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

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

if "7" in a:
    print('Yes')
else:
    print('No')

Solution (Python):
N=int(input())
N=str(N)
if '7' in N:
    print('Yes')

else:
    print('No')

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

a = S % 10
b = (S//10) % 10
c = (S//100) % 10

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

Solution (Python):
N=list(input())
a=0
for i in range(len(N)):
    if (N[i]=="7"):
        print("Yes")
        a+=1
        break
if(a==0):
    print("No")

Solution (Python):
s = input()

if '7' in s:
    print('Yes')

else:
    print('No')

Solution (Python):
i = list(map(str, input()))

if "7" in i:
  print("Yes")
else:
  print("No")

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

Solution (Python):

N = input().rstrip()
for c in N:
    if c == "7":
        print("Yes")
        quit()

print("No")

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

Solution (Python):

if __name__ == "__main__":
    N = input()
    if "7" in N:
        ret = "Yes"
    else:
        ret = "No"
    print(ret)

Solution (Python):
from collections import deque
d=deque(input())
if "7" in d:
  print("Yes")
else:
  print("No")

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

for i in range(3):
    if n[i] == '7':
        print('Yes')
        break
else:
    print('No')

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

for i in range(len(n)):
    if n[i] == '7':
        print("Yes")
        exit(0)
print("No")

Solution (Python):
S = input()
S = set([s for s in S])
if '7' in S:
  print("Yes")
else:
  print("No")

Solution (Python):
n=input()
if(n[0]=="7"):
  print("Yes")
elif(n[1]=="7"):
  print("Yes")
elif(n[2]=="7"):
  print("Yes")
else:
  print("No")

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

Solution (Python):
n = input()
flag = 0
for i in range(len(n)):
    if n[i] == "7":
        flag = 1

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

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

Solution (Python):
import sys



S = input()
for s in S:
    if s == '7':
        print('Yes')
        sys.exit()
print('No')

Solution (Python):
N = input()

for i in range(3):
  if N[i] == '7':
    print('Yes')
    break
else:
  print('No')

Solution (Python):
n = input()
flag = False
for i in n:
    if i == "7":
        flag = True
        break

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

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

Solution (Python):
N = input()

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

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

Solution (Python):
import sys
from math import sqrt
from collections import Counter, defaultdict, deque

input = sys.stdin.readline
sys.setrecursionlimit(10 ** 6)


def I():
    return int(input())


def MI():
    return map(int, input().split())


def LI():
    return list(MI())


def LIN(n: int):
    return [I() for _ in range(n)]


inf = float("inf")
mod = 10 ** 9 + 7


def main():
    s = input()
    for n in s:
        if n == "7":
            print("Yes")
            exit()
    print("No")
    pass


if __name__ == "__main__":
    main()

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

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

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

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

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

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

Solution (Python):
import sys
import math
import collections
from collections import deque
import heapq
n = int(input())




s = str(n)
for i in range(len(s)):
    if s[i] == "7":
        print("Yes")
        sys.exit()

print("No")

Solution (Python):
N = input()
for n in N:
    if n == '7':
        print('Yes')
        exit(0)
print('No')

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

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

Solution (Python):
N = list(input())
if N.count("7") != 0:
    print("Yes")
else:
    print("No")

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

Solution (Python):
a,b,c = input()
if int(a)==7 or int(b)==7 or int(c)==7:
    print('Yes')
else:
    print('No')

Solution (Python):
a,b,c = input()
if int(a)==7:
  print ("Yes")
elif int(b)==7:
  print("Yes")
elif int(c)==7:
  print("Yes")
else:
  print("No")

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

if int(n[0]) == 7 or int(n[1]) == 7 or int(n[2]) == 7:
    print("Yes")
else:
    print('No')

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

for n in N:
    if n == '7':
        print('Yes')
        exit()

print('No')

Solution (Python):
N = input()

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

Solution (Python):
N = [i for i in input()]
if(N[0]== '7' or N[1]=='7' or N[2]=='7'):
  print('Yes')
else:
  print('No')

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

Solution (Python):
N = input()

for c in N:
    if c == '7':
        print('Yes')
        exit()

print('No')

Solution (Python):
import sys
int1 = lambda x: int(x) - 1
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
sys.setrecursionlimit(500000)

N = int(read())
str_n = str(N)
for c in list(str_n):
    if c == '7':
        print('Yes')
        sys.exit()

print("No")

Solution (Python):

x=input()

if '7' in x:
	print("Yes")
else:
	print("No")

Solution (Python):
if __name__ == '__main__':
    n = list(input())
    if "7" in n:
        print("Yes")
    else:
        print("No")

Solution (Python):
n = input()

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

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

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

Solution (Python):
def main():
    N = str(input())
    ans = 'No'

    for i in range(3):
        if N[i] == '7': ans ='Yes'
    print(ans)

    return

if __name__ == "__main__":
    main()

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

Solution (Python):
S=input()
for s in S:
  if s == "7":
    print("Yes")
    break
else:
  print("No")

Solution (Python):
def q1():
    num = input()
    if "7" in num:
        print("Yes")
    else:
        print("No")

q1()

Solution (Python):
N=input()
cnt=0
for i in N:
    if i == "7":
        cnt+=1

if cnt >= 1:
    print('Yes')
else:
    print('No')

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

Solution (Python):
A = str(input())
if (A[0] == str(7))  or (A[1] == str(7)) or (A[2] == str(7)):
    print('Yes')
else:
    print('No')

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

a = N%10
b = ((N-a)%100)//10
c = ((N-a-10*b)%1000)//100

if a==7 or b==7 or c==7:
    print('Yes')
else:
    print('No')

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

Solution (Python):
n=input()

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

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

for i in range(3):
    if N[i] == "7":
        flag = 1

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

Solution (Python):
N = input()

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

Solution (Python):



 
import sys
import math



 

fileoperation=0
if(fileoperation):
    orig_stdout = sys.stdout
    orig_stdin = sys.stdin
    inputfile = open('W:/Competitive Programming/input.txt', 'r')
    outputfile = open('W:/Competitive Programming/output.txt', 'w')
    sys.stdin = inputfile
    sys.stdout = outputfile


mod=1000000007
 

def nospace(l):
    ans=''.join(str(i) for i in l)
    return ans
 
 
 

t=1
for tt in range(t):
    n=str(input())
    if '7' in n:
        print("Yes")
    else:
        print("No")
    
    
    
    

if(fileoperation):
    sys.stdout = orig_stdout
    sys.stdin = orig_stdin
    inputfile.close()
    outputfile.close()

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

p = n//100
q = (n-p*100)//10
r = (n-p*100-q*10)

ans = 'Yes' if p==7 or q==7 or r==7 else 'No'
print(ans)

Solution (Python):
N = input()
res = 0
if N[0] == '7':
	res=1
if N[1] == '7':
	res=1
if N[2] == '7':
	res=1
if res == 1:
	print('Yes')
else:
	print('No')

Solution (Python):
n = input()
b = 0
for i in n:
    if i == '7':
        b= 1
        break

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

Solution (Python):


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

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

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

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

Solution (Python):
n = int(input())
h = n //100
j = (n-100*h) //10
i = n-100*h-10*j
if h == 7 or j == 7 or i == 7:
    print("Yes")
else:
    print("No")

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

Solution (Python):
x=input()
for i in range(0,len(x)):
  if(x[i] == '7'):
    print('Yes')
    break
else:
  print('No')

Solution (Python):
flag = True
N = list(input())
for i in range(len(N)):
    if(flag == True and N[i] == "7"):
        print("Yes")
        flag = False
if(flag):
    print("No")

Solution (Python):
num = str(input())
flag = 0
for n in num:
	if n == '7':
		flag = flag + 1
	else:
		continue
if flag > 0:
	print("Yes")
else:
	print("No")

Solution (Python):
s = input()
ans = "No"

for i in s:
    if i == "7":
        ans = "Yes"

print(ans)

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

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

Solution (Python):
n = input()

if '7' in n:
    print("Yes")
else:
    print("No")

Solution (Python):
K = int(input())
flag = 0

for i in range(3):
    if K % 10 == 7:
        flag = 1
    K = int(K/10)
    
if flag:
    print('Yes')
else:
    print('No')

Solution (Python):
import sys
readline = sys.stdin.readline
 
 
N = readline().rstrip()
 
if '7' in N:
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()

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

Solution (Python):
import sys


s = input()

for i in range(3):
    if int(s[i]) == 7:
        print("Yes")
        sys.exit()

print("No")

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

a = int(N/100)
b = int((N-a*100)/10)
c = int(N-a*100-b*10)

if a == 7 or b == 7 or c == 7:
    print('Yes')
else :
    print('No')

Solution (Python):
import numpy as np



first_input = list(map(lambda x:int(x), input().split(" ")))









N = first_input[0]

hundred_num = N//100
ten_num = (N-hundred_num*100)//10
one_num = (N-hundred_num*100-ten_num*10)

if hundred_num==7 or ten_num==7 or one_num==7:
    print("Yes")
else:
    print("No")

Solution (Python):

text = list(input())

if "7" in text:
	print("Yes")
else:
	print("No")

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

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

for i in N:
    if i == '7':
        print('Yes')
        break
else:
    print('No')

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

Solution (Python):

s = str(input())
if s[0] == "7" or s[1] == "7" or s[2] == "7":
  print("Yes")
else:
  print("No")

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

Solution (Python):
def main():
    s = input()
    for c in s:
        if c == '7':
            return 'Yes'
    return 'No'


if __name__ == '__main__':
    print(main())

Solution (Python):
N = input()

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

Solution (Python):

import sys
import math


n = int(input())



if(n%10==7):
	print("Yes")
	sys.exit()
n-=n%10
n/=10
if(n%10==7):
	print("Yes")
	sys.exit()
n-=n%10
n/=10
if(n==7):
	print("Yes")
	sys.exit()
print("No")

Solution (Python):
i = input()

if i.count("7") >= 1:
  print("Yes")
else:
  print("No")

Solution (Python):
N = list(input())
s = N.count('7')
if s >0 :
    print("Yes")
else:
    print("No")

Solution (Python):
n = input()

result = 'No'
for nn in n:
    if nn == '7':
        result = 'Yes'
        break
    
print(result)

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

Solution (Python):
n = int(input())
test = str(n) 
cout=0
for i in range(3):
    if test[i] == '7':
        print("Yes")
        break
    elif cout == 2:
        print("No")
    
    else:
        cout+=1

Solution (Python):

n = list(input())

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

Solution (Python):
import sys
s = list(input())

for i in s:
  if i == '7':
    print('Yes')
    sys.exit()
    
print('No')

Solution (Python):


def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    s=input()
    if "7" in s:
        print("Yes")
    else:
        print("No")

main()

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

Solution (Python):
import math

n = int(input())

if "7" in str(n):
    print("Yes")
else:
    print("No")

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

for i in range(3):
    if N[i] == '7':
        flag = True

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