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 n:
  print("Yes")
else:
  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 print('No')

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

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

Solution (Python):
n = str(input())
x = 0
for i in range(3):
    if n[i] == '7':
        x += 1;

if x == 0:
    print('No');
else:
    print('Yes');

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

Solution (Python):
N = input()

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

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

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

for n in N:
    if int(n) == 7:
        flag = 1
        break
    
if flag==0:
    print("No")
else:
    print("Yes")

Solution (Python):
n = input()

a = False

for i in n:
  if i == '7':
    a = True

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

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

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

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

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

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

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

Solution (Python):
n = list(str(int(input())))
c = 0

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

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

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

Solution (Python):
a=input()
print('Yes' if '7' in a else '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):
a = int(input())
toprint = False
while a > 0 :
 last_digit = a % 10
 a = a // 10
 if last_digit == 7 :
   toprint = True
 
if toprint == True :
 print ("Yes")
else :
 print ("No")

Solution (Python):
n=int(input())
thou=n//100
hund=(n-(thou*100))//10
ones=n-((thou*100)+(10*hund))
if (thou==7) or (hund==7) or (ones==7):
    print("Yes")
else:
  print("No")

Solution (Python):
N = int(input())
toprint = False
while N > 0 :
  last_digit = N % 10
  N = N // 10
  if last_digit == 7 :
    toprint = True

if toprint == True :
  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 = 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):
n = input()

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

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

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

Solution (Python):

from collections import defaultdict, deque
from heapq import heappush, heappop
from itertools import permutations, accumulate
import sys
import math
import bisect


def LI(): return [int(x) for x in sys.stdin.readline().split()]


def I(): return int(sys.stdin.readline())


def LS(): return [list(x) for x in sys.stdin.readline().split()]


def S():
    res = list(sys.stdin.readline())
    if res[-1] == "\n":
        return res[:-1]
    return res


def IR(n):
    return [I() for i in range(n)]


def LIR(n):
    return [LI() for i in range(n)]


def SR(n):
    return [S() for i in range(n)]


def LSR(n):
    return [LS() for i in range(n)]


sys.setrecursionlimit(1000000)


def main():
    a = list(input())
    print("Yes" if "7" in a else "No")


main()

Solution (Python):
string = input()

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

Solution (Python):
i = input()

print(["No", "Yes"]["7" in i])

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

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

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

Solution (Python):
def main():
    S = list(str(input()))
    N = len(S)
    for i in range(N):
        if S[i] == '7':
            print('Yes')
            return
    print('No')
main()

Solution (Python):
def main():
    l = list(str(input()))
    num = len(l)
    for i in range(num):
        if l[i] == '7':
            print('Yes')
            return
    print('No')
main()

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

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

Solution (Python):

n = input()
ans = 'No'

for i in n:
    if int(i) == 7:
        ans = 'Yes'
print(ans)

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

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

Solution (Python):
def main():
    from builtins import int, map, list, print
    import sys
    sys.setrecursionlimit(10 ** 6)

    input = (lambda: (sys.stdin.readline()).rstrip())
    input_list = (lambda: input().split())
    input_number = (lambda: int(input()))
    input_number_list = (lambda: list(map(int, input_list())))

    N = input()
    print('YNeos'[not '7' in N::2])

if __name__ == '__main__':
    main()

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

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

print("No")

Solution (Python):
N = input()

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

Solution (Python):
import sys
read = sys.stdin.buffer.read






def RD(): return sys.stdin.read()
def II(): return int(input())
def MI(): return map(int,input().split())
def MF(): return map(float,input().split())
def LI(): return list(map(int,input().split()))
def LF(): return list(map(float,input().split()))
def TI(): return tuple(map(int,input().split()))



def main():
	a=input()
	ans="No"
	
	for i in range(3):
		if a[i]==str(7):
			ans="Yes"
	
	print(ans)
	
	
if __name__ == "__main__":
	main()

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

Solution (Python):
N=list(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 = int(input())
N = str(N)
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 "7" in n:
  print("Yes")
else:
  print("No")

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

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

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

Solution (Python):
x = input()
for i in x:
      if (i=='7'):
            print('Yes')
            break
if (i!='7'):
      print('No')

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

flag=0
for i in range(len(k)):
    if k[i]=='7':
        flag=1
        print("Yes")
        break
    else:
        flag=0
        
if flag==0:
    print("No")

Solution (Python):
print("Yes") if list(input()).count("7") >= 1 else print("No")

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

answer = 0
for i in range(len(N)):
    if int(N[i]) == 7:
        answer = 1
if answer == 1:
    print('Yes')
else:
    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):
s = input()
print("Yes" if "7" in s else "No")

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

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

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

Solution (Python):
n=input()

ans='No'

if '7' in n:
    ans='Yes'
print(ans)

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()
ans = "No"
for i in range(len(n)):
  if(n[i]=="7"):
    ans = "Yes"
    break;
print(ans)

Solution (Python):
import math
a=input()
if("7" in a):
  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):
if "7" in input():
  ans = "Yes"
else:
  ans = "No"
print(ans)

Solution (Python):
a = input()
f = 0
for i in range(3) :
    c = a[i]
    if c == '7' :
        f = 1
if f == 0 :
    print("No")
if f == 1 :
    print("Yes")

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

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

Solution (Python):
N = input()
numlist = []
for i in range(len(N)):
    numlist.append(int(N[i]))

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

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

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

Solution (Python):
n=int(input())
n=list(str(n))
for i in range(len(n)):
  if n[i]=="7":
    print("Yes")
    break
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())
result=0
for i in N:
    if '7' in i:
        result+=1
if result>=1:
    print('Yes')
else:
    print('No')

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

Solution (Python):
N = input()

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

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

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

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

print("No")

Solution (Python):

n = list(input())
if '7' in n:
    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):
def main():
    n = int(input())
    if "7" in str(n):
        print('Yes')
    else:
        print('No')


if __name__=="__main__":
    main()

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

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

Solution (Python):
s = input()
flag = 0
    
array = list(map(int, s))
    
for i in array:
  if i == 7:
    flag = 1
if flag ==1:
  print("Yes")
else:
  print("No")

Solution (Python):
N = input()

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

Solution (Python):
n = input()

div_n = n.replace('',' ').split()

if '7' in div_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 "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()
print("Yes" if '7' in n else "No")

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

Solution (Python):
import sys
n=input()
for i in n:
  if "7" in n:
    print("Yes")
    sys.exit()
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):
r=input()
print("Yes" if r.count("7")>0 else "No")

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

Solution (Python):
N=input()
numbers=list(N)
for A in numbers:
  if A=='7':
    print('Yes')
    break
if A!='7':
  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):
print("Yes"if"7"in input()else"No")

Solution (Python):
def solve():
    N = list(input())
    print('NYoe s'['7' in N::2])


if __name__ == '__main__':
    solve()

Solution (Python):
N=input()
if N.count('7')>=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):
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do(): 
    s=STR()
    if '7' in s:
        print('Yes')
    else:
        print('No')
if __name__ == '__main__':
    do()

Solution (Python):
N = input()
lucky = False
for s in N:
    if s == '7':
        lucky = True
        break

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

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

ans='No'

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

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

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

Solution (Python):
print('NYoe s'['7' in input()::2])

Solution (Python):
N = list(input())
Triger = 0
for i in N:
  if i == "7":
    Triger += 1
    break
if Triger == 0:
  print("No")
else:
  print("Yes")

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("")
x=0

while x<3:
    if n[x]=="7":
        print("Yes")
        break
    x=x+1
    if x==3: print("No")

Solution (Python):
s = input()

for c in s:
    if '7' in s:
        print("Yes")
        break
    else:
        print("No")
        break

Solution (Python):
n=input("")
x=0
yn="No"

while x<3:
    if n[x]=="7":
        yn="Yes"
        break
    x=x+1

print(yn)

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

Solution (Python):
n=input("")
x=0
yn="No"

while x<3:
    if n[x]=="7":
        yn="Yes"
    x=x+1

print(yn)

Solution (Python):
a=str(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):
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 = input()
thereIs7 = False
for i in N:
    if i == '7':
        thereIs7 = True
        break
if thereIs7:
    print('Yes')
else:
    print("No")

Solution (Python):
import math

n = (int)(input())

ret = "No"
while n > 0:
    if n % 10 == 7:
        ret = "Yes"
        break
    n = math.floor(n / 10)

print("{}".format(ret))

Solution (Python):
S=int(input())
result = 0
while S >0:
    S, m = divmod(S,10)
    if m ==7:
        result = 1
        break
if result ==1:
    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):
num = input()

for i in range(len(num)):
  if(num[i] == "7"):
    print("Yes")
    break
  elif(len(num)-1 == i):
    print("No")
    break

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

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

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

Solution (Python):




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

Solution (Python):
N = input()
def Lucky_7(N):
  for i in range(len(N)):
    if N[i] == "7":
      return "Yes"
  return "No"
 
print(Lucky_7(N))

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

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

Solution (Python):
N = int(input())
N = str(N)
c = 0
for i in range(len(N)):
    if N[i] == '7':
        c = c+1

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

Solution (Python):
N = input()

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

Solution (Python):
print('NYoe s'['7'in input()::2])

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

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

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

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

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

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

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

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

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

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

Solution (Python):
print('NYoe s'['7'in input()::2])

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

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

Solution (Python):

n = str(input())

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

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

Solution (Python):
import re

if re.search(r'7', input()):
    print('Yes')
else:
    print('No')

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 = list(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 = int(input())
H = int(N/100)
T = int((N-H*100)/10)
S = int((N-H*100-T*10))
if H == 7 or T ==7 or S == 7:
  print('Yes')
else :
  print('No')

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

N2=N//100
N1=(N-N2*100)//10
N0=(N-N2*100-N1*10)
    
if N2==7 or N1==7 or N0==7:
  print('Yes')
else:
  print('No')

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

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

has_7 = '7' in str(n)

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

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

Solution (Python):
S = input()

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

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

for i in range(len(n)):
  if n[i] == "7":
    is_ok = True

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

Solution (Python):
if "7" in input():
    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):

import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

S = sr()
bl = S.find('7') != -1
print('Yes' if bl else 'No')

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

Solution (Python):
S = input()

print('Yes' if '7' in S else 'No')

Solution (Python):
n = input()
if '7' in n:
   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 = input()
for i in N:
    if i == '7':
        print('Yes')
        exit()
print('No')

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

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

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

Solution (Python):
s = str(input())
ans = "No"
for i in s:
    if i=='7':
        ans = "Yes"
        break
print(ans)

Solution (Python):

N = input()

Sev = '7'

if Sev in N:
    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=list(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 = str(input())

if n.count('7') != 0:
  print('Yes')
  exit()
  
print('No')

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


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

Solution (Python):
n = map(int, list(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):
x  = input()
found = False
for i in x:
    if i == "7":
        print("Yes")
        found = True
        break

if not found:
    print("No")

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

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

main()

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

Solution (Python):
import itertools
import math
import fractions
import functools
import copy
from collections import deque

n = list(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()
flag = False
for i in range(len(N)):
    if N[i] == '7':
        flag = True

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

Solution (Python):
N  = int(input())
k = str(N)
m = list(k)
ans = "No"
if("7" in m):
  ans = "Yes"
print(ans)

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

Solution (Python):
N = (input())
print('Yes' if '7' in N 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):
s = input()

for c in s:
	if '7' in s:
		print("Yes")
		break
	else:
		print("No")
		break

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

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

Solution (Python):
string = input()
found = False
for i in string:
  if i == '7':
    found=True
    break
    
    
if found:
  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()

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

Solution (Python):

import copy
import random
import bisect 
import fractions 
import math
import sys
import collections

mod = 10**9+7
sys.setrecursionlimit(mod) 

d = collections.deque()
def LI(): return list(map(int, sys.stdin.readline().split()))

N = int(input())

ans = False
for i in str(N):
    if i == "7":
        ans = True
if ans:
    print("Yes")
else:
    print("No")

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

k1 = n % 10
k2 = n % 100
k3 = n / 100

if k1 == 7:
    print("Yes")
elif k2 >= 70 and k2 <= 79:
    print("Yes")
elif k3 >= 7 and k3 < 8:
    print("Yes")
else:
    print("No")

Solution (Python):
ans = "No"

s = input()

while s != "":
    if s[0] == "7":
        ans = "Yes"
    s = s[1:]

print(ans)

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

Solution (Python):
n=str(input())
p=0
for x in n:
    if x=='7':
        p="Yes"
if p=='Yes':
    print(p)
if p==0:
    print('No')

Solution (Python):

n = input()

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

Solution (Python):
s = input()
result = "No"
for i in s:
    if i == '7':
        result = "Yes"
        break

print(result)

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

Solution (Python):

import sys

input = sys.stdin.readline


def Y():
    print("Yes")


def N():
    print("No")


def S():
    return input().rstrip()


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


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


if "7" in S():
    Y()
else:
    N()

Solution (Python):
a=input()

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

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

Solution (Python):
N = input()

if "7" in N:
    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):
N = input()
num = len(N)

ans = 0

for i  in range(num):
    new_N = int(N[i])
    if new_N == 7:
        ans += 1


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

Solution (Python):
S = input()

if '7' in S:
    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()

print("Yes" if n.replace("7","") != n else "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 resolve():
    n = int(input())

    n = str(n)
    flag = False
    for char in n:
        if char == '7':
            flag = True

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

Solution (Python):
print('Yes' if '7' in input() else '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 = 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()
a = []
for i in n:
  a.append(i)

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

Solution (Python):
n=str(input())
t=0
for i in n:
    if int(i)==7:
        t=1
if t==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):
n = input()
if '7' in n:
    print("Yes")
else:
    print("No")

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

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

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

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 = list(input())

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

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

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

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

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

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 n[0] == '7' or n[1] == '7' or n[2] == '7':
    print('Yes')
else:
    print('No')

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

Solution (Python):
n = [int(i) for i in input()]
count = 0
for i in range(3):
    if n[i] == 7:
        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):
N = input()
judge = "No"
for i in N:
  if i == "7":
    judge = "Yes"
    break
print(judge)

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

Solution (Python):
num = input()
result = False

for i in num:
    if i == "7":
        result = True
        break

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

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

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

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