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 ()
if '7' in str(N):
  print("Yes")
else:
  print("No")

Solution (Python):
a,b,c = input()
f = 0
if a in '7' or b in '7' or c in '7':
    print('Yes')
    f = 1
if f == 0:
    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 = input()
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 = list(input())

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

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

Solution (Python):
N = input()

ans = "No"
if N[0] == "7" or N[1] == "7" or N[2] == "7":
    ans = "Yes"

print(ans)

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

Solution (Python):
A = input()
Alist = list(A)
j=0
for i in range(3):
    if Alist[i] == '7':
        j+=1
if j>=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):
x=input()
y=str(x)
if int(y[-1])==7:
   print("Yes")
elif int(y[-2])==7:
   print("Yes")
elif int(y[-3])==7:
   print("Yes")
else:
   print("No")

Solution (Python):
inp=input()
ok=0
for i in range(len(inp)):
  if(inp[i]=='7'):
    print("Yes")
    ok=1
    break
if(ok==0):
  print("No")

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

Solution (Python):
print("Yes" if(input().count('7')) else "No")

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

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

Solution (Python):
n=input()
a="7" in n

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

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

Solution (Python):
n=input()

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

Solution (Python):
n = str(input())
x = 0
for num in n:
    if int(num) == 7 :
        x += 1
if x == 0 :
    print('No')
else:
    print('Yes')

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

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

print("No")

Solution (Python):
K=str(input())
if (int(K[0])%7==0 and int(K[0])!=0 )or (int(K[1])%7==0 and int(K[1])!=0 ) or (int(K[2])%7==0 and int(K[2])!=0 ):
    print('Yes')
else:
    print('No')

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):
Degit = int(input())
print('Yes' if '7' in str(Degit) else 'No')

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

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

for char in list(N):
  if char == "7":
    enc += 1
    
if enc >= 1:
  print("Yes") 
else:
  print("No")

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

for i in range(3):
    if l[i] == 7:
        cnt += 1

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

Solution (Python):
N = int(input())
s=0
if int(N/100) == 7:
    print("Yes")
    s+=1
    

N = N % 100 
    

if s==0 and int(N / 10) == 7:
    print("Yes")
    s+=1

N = N % 10 

if s==0 and N / 1 == 7:
    print("Yes")
    s+=1
if s == 0:
    print("No")

Solution (Python):
N = int(input())
N1 = N//100
N2 = (N%100)//10
N3 = (N%100)%10
if N1 == 7 or N2 == 7 or N3 == 7:
    print("Yes")
else:
    print("No")

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

Solution (Python):
n = input()

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

Solution (Python):
n=int(input())
s=int(n/100)
if s==7:
    print("Yes")
    exit()
elif n%10 == 7:
    print("Yes")
    exit()
elif n%100>=70 and n%100<80:
    print("Yes")
    exit()
else:
    print("No")

Solution (Python):
num = int(input())
N = [int(i) for i in str(num)]
if N[0] == 7:
    print("Yes")
elif N[1] == 7:
    print("Yes")
elif N[2] == 7:
    print("Yes")
else:
    print("No")

Solution (Python):
a = input()

if(a.count("7")!=0):
    print("Yes")
else:
    print("No")

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

Solution (Python):
N = input()

result = "No"

for n in N:
  if n == "7":
    result = "Yes"

print(result)

Solution (Python):


N = input()

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

Solution (Python):

has_seven = False
N = str(input())
for i in range(len(N)):
  if N[i] == '7':
      has_seven = True
      break

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

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

Solution (Python):
s = raw_input().strip()

if '7' in s:
    print "Yes"
else:
    print "No"

Solution (Python):
num = int(input())
n100 = num - 700
n10 = num - 70
n1 = num - 7
if n100  <= 99 and 0 <= n100:
  print("Yes")
elif n10 % 100 >= 0 and n10 % 100 <=9:
  print("Yes")
elif n1 % 10 == 0:
  print("Yes")
else:
  print("No")

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

Solution (Python):
def check(n):
	while n > 0:
		if n%10 == 7:
			return "Yes"
		n = int(n/10)
	return "No"

no = int(input())
print(check(no))

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

Solution (Python):
n = eval(input())
m = [int(d) for d in str(n)]

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

Solution (Python):

N = int(input())

n100 = int(N/100)
n10 = int((N-n100*100)/10)
n1 = int(N - n100*100 - n10*10 )
if n100==7 or n10==7 or n1==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.find('7') >= 0 :
  print("Yes")
else:
  print("No")

Solution (Python):
N = str(input())
l_N = list(N)
flg = 0
for i in range(len(l_N)):
    if l_N[i] == '7':
        print('Yes')
        flg = 1
        break
if flg == 0:
    print('No')

Solution (Python):
n = list(input())
ans = 'No'
for d in n:
    if d == '7':
        ans = 'Yes'
        break

print(ans)

Solution (Python):
def main():
  n = input()
  print("Yes" if n.count("7") > 0 else "No")
  

if __name__ == "__main__":
  main()

Solution (Python):
s = input()
ans = 0
for v in range(3):
  if int(s[v]) == 7:
    ans += 1
    break
if ans == 0:
  print("No")
else:
  print("Yes")

Solution (Python):
N=input()
s=str(N)
s1=s[-1]
s2=s[-2]
s3=s[-3]
if s1 == '7':
    print('Yes')
elif s2 == '7':
    print('Yes')
elif s3=='7':
    print('Yes')
else:
    print('No')

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

Solution (Python):
import sys
input = sys.stdin.readline

n = list(input())
flag = False

for e in n:
    if e == '7':
        flag = True

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

Solution (Python):
print('YNeos'['7'not in input()::2])

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

Solution (Python):
n = input()
n_list = [int(i) for i in list(str(n))]
if 7 in n_list:
    print('Yes')
else:
    print('No')

Solution (Python):
x = str(input())
a = x[0]
b = x[1]
c = x[2]

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

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

    print('No')

if __name__ == '__main__':
    main()

Solution (Python):
import sys
input = sys.stdin.readline

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

Solution (Python):
'''input
10
'''

import math
s = input()
if '7' in s:
    print("Yes")
else:
    print("No")

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

Solution (Python):
import math






N = input()
listA = list(N)

A = listA[0]
B = listA[1]
C = listA[2]

bool = False

if A == '7':
    bool = True

elif B == '7':
    bool = True

elif C == '7':
    bool = True


if bool == True:
    print('Yes')
else:
    print('No')

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

Solution (Python):
import math
n = int(input())
for i in range(3):
  if n%10 == 7:
    print('Yes')
    break
  elif n/10 < 1:
    print('No')
  else:
    n = math.floor(n/10)

Solution (Python):
print({True:"Yes",False:"No"}['7' in input()])

Solution (Python):


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

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

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

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

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

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

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

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

for i in range(0,10):
    for j in range(0,10):
        for k in range(0,10):
            if N==100*i+10*j+k:
                if i==7 or j==7 or k==7:
                    print("Yes")
                else:
                    print("No")
            else:
                pass

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

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

Solution (Python):
N = str(input())
a = 0
for i in range(3):
    if N[i] == '7':
        a += 1
if a >0:
    print('Yes')
else:
    print('No')

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

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

Solution (Python):
flag=0;
a = input()
for i in range(3):
  if a[i] == "7":
    flag = 1
if flag == 1:
  print("Yes")
else:
  print("No")

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

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

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

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

Solution (Python):

s = input()
if '7' in s:
    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=int(input())

l=[int(x) for x in list(str(N))] 
if 7 in l:
  print('Yes')
else:
  print('No')

Solution (Python):
n = input()

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

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

Solution (Python):
data = input()

if data.find("7") != -1:
  print("Yes")
else:
  print("No")

Solution (Python):
string = input()
list_of_integers =[int(d) for d in str(string)]

l = len(list_of_integers)
ans = "No"
for i in list_of_integers:
  if (i == 7):
    ans = "Yes"
  
print(ans)

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

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

Solution (Python):
N=int(input())
for i in range(3):
    if N%10==7:
        print ('Yes')
        break
    N=N//10
if N==0:
    print ('No')

Solution (Python):

def main():
    
    
    
    
    
    

    
    a = input()
    
    

    

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


if __name__ == '__main__':
    
    main()

Solution (Python):
N = input()
flag = 1
for i in range(3):
  if N[i] == '7':
    print('Yes')
    flag = 0
    break

if flag:
  print('No')

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

cnt = 0
for i in range(0, len(n)):
    if int(n[i]) == 7:
        print("Yes")
        cnt += 1
        break
if cnt == 0:
    print("No")

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

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

Solution (Python):
N = input()

if N[0] == str(7):
  print('Yes')
  
  
elif N[1] ==str(7):
  print('Yes')
  

elif N[2] == str(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):
a=input()
if(a[0]=='7')or(a[1]=='7')or(a[2]=='7'):
  print("Yes")
else:
  print("No")

Solution (Python):
N = input()
  
print("Yes" if "7" in str(N) else "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):
str = input()
length = len(str)
count = 0
for i in range(0,length):
    if str[i] == "7":
        count = count+1
if count != 0:
    print("Yes")
else:
    print("No")

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

Solution (Python):
from sys import stdin
input = stdin.readline
import math

def main():
    N = input()
    if int(N[0]) == 7 or int(N[1]) == 7 or int(N[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=str(input())

flag=False
for i in N:
    if i=="7":
        flag=True

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

Solution (Python):
nums = [int(i) for i in list(input())]
for i in nums:
  if  i == 7:
    print("Yes")
    break
else:
  print("No")

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

nList = list(N)

if "7" in nList:
    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):
a = input()
if '7' in a:
    print("Yes")
else:
    print("No")

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

Solution (Python):
s = list(input())
flag = False
for number in s:
  if number == "7":
    flag = True
    break
  
if flag == True:
  print("Yes")
else:
  print("No")

Solution (Python):
N = int(input())
a1 = N % 10
a2 = ((N % 100) - a1) / 10
a3 = N // 100
if a1 == 7 or a2 == 7 or a3 ==7:
    print('Yes')
else:
    print('No')

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

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

while N > 0:
    n = N%10
    
    if n == 7:
        print("Yes")
        flag = 1
        break

    N = N//10

if flag == 0:
    print("No")

Solution (Python):
a = input()

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

Solution (Python):
num = input()
if num.find('7') >= 0:
    print('Yes')
    exit()
print('No')

Solution (Python):
import sys, os
if __name__=="__main__":
  n = str(input())
  if "7" in n:
    print("Yes")
  else:
    print("No")

Solution (Python):
n=int(input())
if n // 100 == 7:
    print('Yes')
elif (n // 10) % 10 == 7:
    print('Yes')
elif n % 10 == 7:
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()

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

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

Solution (Python):
n = int(input())
n = str(n)
  
if n[len(n) - 1] == str("7"):
  print("Yes")
elif n[len(n)- 2] == str("7"):
  print("Yes")
elif n[len(n)- 3] == str("7"):
  print("Yes")
else:
  print("No")

Solution (Python):
n = input()
f = 0

for i in range(len(n)):
 if n[i] == "7":
  f = 1

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

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

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

Solution (Python):
import sys
import math
import bisect

def main():
    if '7' in input():
        print('Yes')
    else:
        print('No')

if __name__ == "__main__":
    main()

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

for char in chars:
	if int(char) == 7:
		n = 1

	if n != 0:
		break

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

Solution (Python):
t=input()
n=t[0]
m=t[1]
o=t[2]

if n != "7" and m != "7" and o !="7":
    print("No")
else:
    print("Yes")

Solution (Python):
import re
n = input()
if re.search('7',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):
if '7' in input():
    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 "7" in N:
    print("Yes")
else:
    print("No")

Solution (Python):


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

Solution (Python):
n=input()
x=0
for a in n:
  if(a=="7"):
    x=1
if(x==1):
  print("Yes")
else:
  print("No")

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

Solution (Python):
i = input()
ans = 0
for ii in i:
	if ii == "7":
		ans += 1
	else:
		ans += 0
if ans >= 1:
  	print("Yes")
else:
  	print("No")

Solution (Python):
N = eval(input())
a = str(N)
k=[]
for i in a:
    if i == "7":
        k.append(i)
if len(k) > 0:
    print ("Yes")
else:
    print ("No")

Solution (Python):
n = list(map(str, input()))
ans = "No"
for i in range(3):
  if n[i] =="7":
    ans = "Yes"
    break
print(ans)

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

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

Solution (Python):

import sys

YES = "Yes"  
NO = "No"  


def solve(N: int):
    print(YES if (N//100 == 7 or (N//10)%10 == 7 or N%10 == 7) else NO)
    return


def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  
    solve(N)

if __name__ == '__main__':
    main()

Solution (Python):


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

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

Solution (Python):
import re
n=input()
m = re.search(r'7', n)

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

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

if N.count("7") > 0:
  print("Yes")
else:
  print("No")

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

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

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

Solution (Python):
N = str(input())
x = False
for i in N:
    i = int(i)
    if i == 7:
        x = True
if x:
    print("Yes")
else:
    print("No")

Solution (Python):
data = input()

res = "No"
for i in range(len(data)):
  if data[i]=="7":
    res = "Yes"
    break
print(res)

Solution (Python):
if __name__ == '__main__':
    n = input()

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

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

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

Solution (Python):
n=input()
str(n)
ans=0
for i in range(3):
  if int(n[i])==7:
    ans=7

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

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

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

if all(i != "7" for i in S):
    print("No")
else:
    print("Yes")

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

Solution (Python):
N = input().strip()
l = len(N)
n = "7" in N

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

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

yes = False
while n:
    digit = n % 10
    n = n // 10
    if digit == 7:
        yes = True


print('Yes') if yes else print('No')

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

Solution (Python):
def main():
    import math
    import sys

    n = str(input())
    f = 0
    for a in n:
        if a == "7":
            print("Yes")
            f = 1
            break
        else:
            continue
    if f == 0:
        print("No")


if __name__ == '__main__':
    main()

Solution (Python):
import sys

n = input()

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

print('No')

Solution (Python):
i = input()

i = int(i)

flg = False

while i != 0:
  check = i % 10
  if check == 7:
    flg = True
    break
  i = int(i / 10)

check = i % 10
if check == 7:
	flg = True

if flg == True:
  print('Yes')
else:
  print('No')

Solution (Python):
S = input()

x = False

for i in S:
    if(i=='7'):
        x = True

print('Yes' if x else 'No')

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

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

Solution (Python):
N = input()

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

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

Solution (Python):
import math
import sys

def main():
    
    N = input()

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

    return

if __name__ == "__main__":
    main()

Solution (Python):
import sys
import math
from collections import defaultdict
from bisect import bisect_left, bisect_right

sys.setrecursionlimit(10**7)
def input():
    return sys.stdin.readline()[:-1]

mod = 10**9 + 7

def I(): return int(input())
def LI(): return list(map(int, input().split()))
def LIR(row,col):
    if row <= 0:
        return [[] for _ in range(col)]
    elif col == 1:
        return [I() for _ in range(row)]
    else:
        read_all = [LI() for _ in range(row)]
        return map(list, zip(*read_all))



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

print('No')

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

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

YN_flag = 0

for i in list:
    if i == "7":
        print("Yes")
        YN_flag = 1
        break

if YN_flag == 0:
    print("No")

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

Solution (Python):

import os
import sys
from io import BytesIO, IOBase


def main():
	
		n = input()
		if n.count("7")>0:
			print("Yes")
		else:
			print("No")
		
		




BUFSIZE = 8192


class FastIO(IOBase):
	newlines = 0

	def __init__(self, file):
		self._fd = file.fileno()
		self.buffer = BytesIO()
		self.writable = "x" in file.mode or "r" not in file.mode
		self.write = self.buffer.write if self.writable else None

	def read(self):
		while True:
			b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
			if not b:
				break
			ptr = self.buffer.tell()
			self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
		self.newlines = 0
		return self.buffer.read()

	def readline(self):
		while self.newlines == 0:
			b = os.read(self._fd, max(os.fstat(self._fd).st_size, BUFSIZE))
			self.newlines = b.count(b"\n") + (not b)
			ptr = self.buffer.tell()
			self.buffer.seek(0, 2), self.buffer.write(b), self.buffer.seek(ptr)
		self.newlines -= 1
		return self.buffer.readline()

	def flush(self):
		if self.writable:
			os.write(self._fd, self.buffer.getvalue())
			self.buffer.truncate(0), self.buffer.seek(0)


class IOWrapper(IOBase):
	def __init__(self, file):
		self.buffer = FastIO(file)
		self.flush = self.buffer.flush
		self.writable = self.buffer.writable
		self.write = lambda s: self.buffer.write(s.encode("ascii"))
		self.read = lambda: self.buffer.read().decode("ascii")
		self.readline = lambda: self.buffer.readline().decode("ascii")


sys.stdin, sys.stdout = IOWrapper(sys.stdin), IOWrapper(sys.stdout)
input = lambda: sys.stdin.readline().rstrip("\r\n")



if __name__ == "__main__":
	main()

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

Solution (Python):


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

Solution (Python):
n = input()
isSeven = False


for i in n:
  if i == "7":
    isSeven = True
if(isSeven):
  print("Yes")
else:
  print("No")

Solution (Python):
a = list(map(str, input().split()))
if '7' in a[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())
if n[0]=="7":
  print("Yes")
elif n[1]=="7":
  print("Yes")
elif n[2]=="7":
  print("Yes")
else:
  print("No")

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

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

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

for i in range(3):
    if N[i] == '7':
        F = F + 1

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

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

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

Solution (Python):
str = input()
try:
    target = '7'
    if target in str:
        print('Yes')
    else:
        print('No')
except EOFError:
    pass

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

Solution (Python):
n=int(input())
f=0
while n>0:
      c=n%10
      if  c==7:
            f=1
            print("Yes")
            break
      n=int(n/10)
if f==0:
      print("No")

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

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

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

Solution (Python):
N=input()
list_N=list(N)
ans='No'
for i in range(3):
  if list_N[i]=='7':
    ans='Yes'
print(ans)

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

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

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

Solution (Python):
import sys
a = input() 

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

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

Solution (Python):
a,b,c = input()

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

Solution (Python):
x = int(input())
import math
a = int(math.floor(x/100))
b = int(math.floor((x-100*a)/10))
c = int(math.floor((x-100*a-10*b)))

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

Solution (Python):
num = int(input())
list = list(str(num))
count = 0

for i in range(3):
  if list[i] == "7":
    print("Yes")
    break
  else:
    count += 1

if count == 3:
  print("No")
else:
  None

Solution (Python):
n = input()
a = int(n[0])
b = int(n[1])
c = int(n[2])
if a == 7:
    print('Yes')
elif b == 7:
    print('Yes')
elif c == 7:
    print('Yes')
else:
    print('No')

Solution (Python):
a, b, c = input()

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

Solution (Python):
n = int(input())
count = 0
tenwari = n%10
baiwari = n%100
ichi = tenwari
jyu = (baiwari-tenwari)//10
hyaku = (n-jyu*10-ichi)//100

if ichi != 7:
  count = count + 1
if jyu != 7:
  count = count + 1
if hyaku != 7:
  count = count + 1
  
if count == 3:
  print('No')
else:
  print('Yes')

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):
N = input()
a = 0
for i in range(len(N)):
  if N[i] == "7":
    a = 1

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

Solution (Python):
n = int(input())
first = n // 100
second = (n % 100) // 10
third = (n % 10)

if (first == 7 or second == 7 or third == 7):
  print('Yes')
else:
  print('No')

Solution (Python):
N=int(input())
C=str(N)
c=0
for i in range(len(C)):
  if int(C[i])==7:
    c+=1
if c==0:
  print("No")
else:
  print("Yes")

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

s = str(a)
l = len(str(a))
c = 0
for i in range(l):
    if s[i] == "7":
        c = 1
        break
        
if c == 1:
    print("Yes")
else:
    print("No")

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

if vv <= 999 and vv >= 100:
    vvvv = list(str(vv))


    ccc = "7" in vvvv

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

Solution (Python):


n = input()

l = set(list(n))
if "7" in l:
    print("Yes")
else:
    print("No")

Solution (Python):

S=input()

for s in S:
    if s=='7':
        print('Yes')
        break
else:
    print('No')

Solution (Python):
import sys

N = str(input())

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

print('No')

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

Solution (Python):
import sys

N = str(input())

for n in N:
    if int(n) == 7:
        print('Yes')
        sys.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 = str(input())

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

Solution (Python):
n = input()
judge = False
for i in range(3):
    if n[i] == "7":
        judge = True

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

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

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