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()
han = False
for i in N:
    if i == "7":
        han = True
if han == True:
    print("Yes")
else:
    print("No")

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

Solution (Python):



def main():
    N = input()
    for i in list(N):
        if i == '7':
            print('Yes')
            return
    print('No')


if __name__ == "__main__":
    main()

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):
print("Yes" if input().find("7") >= 0 else "No")

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


print('No')

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

Solution (Python):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,copy,functools
import time,random

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**10
mod = 10**9+7
mod2 = 998244353
dd = [(-1,0),(0,1),(1,0),(0,-1)]
ddn = [(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return list(map(int, sys.stdin.readline().split()))
def LLI(): return [list(map(int, l.split())) for l in sys.stdin.readlines()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)
def pe(s): return print(str(s), file=sys.stderr)
def JA(a, sep): return sep.join(map(str, a))
def JAA(a, s, t): return s.join(t.join(map(str, b)) for b in a)


def main():
    s = S()
    if "7" in s:
        return 'Yes'

    return "No"


print(main())

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

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

b=True
for i in range(3):
    if int(a[i])==7:
        print("Yes")
        b=False
        break
if b==True:
    print("No")

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

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

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

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

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

Solution (Python):
n = input()

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

Solution (Python):
N = input()

ans = "No"
for s in N:
  if s == "7":
    ans = "Yes"

print(ans)

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

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

Solution (Python):
import sys
sys.setrecursionlimit(10 ** 6)

int1 = lambda x: int(x) - 1
def II(): return int(input())

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

def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]

INF = float('inf')

def solve():
    n = input()
    if '7' in n:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    solve()

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

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

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

Solution (Python):
import math
import queue
from collections import defaultdict
 
def readInt():
	return int(input())
def readInts():
	return list(map(int, input().split()))
def readChar():
	return input()
def readChars():
	return input().split()
def factorization(n):
	res = []
	if n%2==0:
		res.append(2)
	for i in range(3,math.floor(n//2)+1,2):
		if n%i==0:
			c = 0
			for j in res:
				if i%j==0:
					c=1
			if c==0:
				res.append(i)
	return res
def fact2(n):
	p = factorization(n)
	res = []
	for i in p:
		c=0
		z=n
		while 1:
			if z%i==0:
				c+=1
				z/=i
			else:
				break
		res.append([i,c])
	return res
def fact(n):
	ans = 1
	m=n
	for _i in range(n-1):
		ans*=m
		m-=1
	return ans
def comb(n,r):
	l = min(r,n-r)
	m=n
	u=1
	for _i in range(l):
		u*=m
		m-=1
	return u//fact(l)
def printQueue(q):
	r=q
	ans=[0]*r.qsize()
	for i in range(r.qsize()-1,-1,-1):
		ans[i] = r.get()
	print(ans)

N = readInt()

s = list(str(N))

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

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

Solution (Python):
import sys
sys.setrecursionlimit(10**6)
readline = sys.stdin.readline
N = int(readline())

for i in range(3):
    if N % 10 == 7:
        print('Yes')
        break
    else:
        N //= 10
        continue
    break
else:
    print('No')

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

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

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

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

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

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

Solution (Python):
n=input()
a=int(n)%10
b=((int(n)-a)/10)%10
f="No"
if a==7:
    f="Yes"
if b==7:
    f="Yes"
if 700<=int(n)<800:
    f="Yes"
print(f)

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):
from collections import defaultdict, deque, Counter
from heapq import heappush, heappop
from itertools import permutations, accumulate, combinations
from math import sqrt, ceil, floor
from bisect import bisect_left, bisect_right
from copy import deepcopy
from operator import itemgetter
from fractions import gcd
import sys
def I(): return int(input())  
def Is(): return map(int, input().split())  
def LI(): return list(map(int, input().split()))  
def TI(): return tuple(map(int, input().split()))  
def IR(n): return [I() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def TIR(n): return [TI() for _ in range(n)]
def S(): return input()
def Ss(): return input().split()  
def LS(): return list(input())  
def SR(n): return [S() for _ in range(n)]
def SsR(n): return [Ss() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
sys.setrecursionlimit(1000000)
MOD = 1000000007
INF = float('inf')

s = LS()
if "7" in s:
    print("Yes")
    exit()
print("No")

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

Solution (Python):
def main():

    N = input()
    if '7' in N: return "Yes"
    return "No"
if __name__ == '__main__':
    print(main())

Solution (Python):


n=str(input())




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

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

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

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

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 a in S:
    if a == "7":
        print("Yes")
        sys.exit(0)
print("No")

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

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

Solution (Python):
n=int(input())
if n//100==7:
  print('Yes')
elif (n-100*(n//100))//10==7:
  print('Yes')
elif n-100*(n//100)-((n-100*(n//100))//10)*10==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())

if N%100%10==7 or 70<=N%100<80 or 700<=N<800:
    print('Yes')
else:
    print('No')

Solution (Python):
n = input()

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

Solution (Python):
N = input()

cnt = 0
for i in range(3):
    if int(N[i]) == 7:
        print('Yes')
        cnt += 1
        break

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

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

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

Solution (Python):

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

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

Solution (Python):
n = input()
flag = 1

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):
s = input()
print('Yes' if s.count('7') >= 1 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):
import sys
n=input()


for i in n:
    if i=="7":
        print("Yes")
        sys.exit()
print("No")

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

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

Solution (Python):
N = int(input())
res = 'No'
if N // 100 == 7 or (N - N // 100 * 100 ) // 10 == 7 or (N - N // 10 * 10) == 7:
  res = 'Yes'

print(res)

Solution (Python):

S = input()

S_list = list(S)

ans = 0
for i in range(len(S_list)):
  if(S_list[i] == "7"):
    ans = 7
  else:
    ans = ans
    
    
    
if(ans == 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):
N = input()
print("Yes" if N.find("7") >= 0 else "No")

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

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

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

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

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

Solution (Python):

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

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

else:
    print("No")

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

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

Solution (Python):
if "7" in input():
    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())
    for i in range(3):
        if n%10 == 7:
            print("Yes")
            return
        n //= 10
    print("No")

if __name__ == "__main__":
    main()

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

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

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

Solution (Python):
import re

n = input()
if (re.match('.*7.*', n)):
    print("Yes")
else:
    print("No")

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

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

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

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

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

Solution (Python):
N=input()
M=N.replace("7","")
if len(N)!=len(M):
    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):
n = input()
if "7" in n:
     print("Yes")
else :
     print("No")

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

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

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

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

print("No")

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

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

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

Solution (Python):

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

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

if n.count('7') > 0:
    print('Yes')
else:
    print('No')

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

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

Solution (Python):

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

Solution (Python):
n = input()

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

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



class Solver(object):
    def __init__(self):
        pass

    def solve(self):
        pass


def main():
    N = input().strip()
    if "7" in N:
        return "Yes"
    else:
        return "No"


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

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


def main():
    N = input().strip()
    if "7" in N:
        return "Yes"
    else:
        return "No"


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

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

Solution (Python):
n= input()
n7 = 0
for i in n:
    if i == '7':
        n7 +=1
if n7 != 0:
    print('Yes')
else:
    print('No')

Solution (Python):
S = input()
X = 0

for i in range(3):
    if int(S[i]) == 7:
        X += 1
if X == 0:
    print('No')
else:
    print('Yes')

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

Solution (Python):
import math

def read_int():
    return int(input().strip())


def read_ints():
    return list(map(int, input().strip().split(' ')))


def solve():
    return 'Yes' if '7' in input().strip() else 'No'


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

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

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

Solution (Python):
N = input()
n = int(N)
if 100 <= n <= 999 :
    if '7' in N:
        print('Yes')
    else:
        print('No')

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

Solution (Python):


num = input("")
if len(num) == 3:
    if "7" in num:
        print("Yes")
    else:
        print("No")
else:
    print("The input is not of three digits.")

Solution (Python):

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

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

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

Solution (Python):

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

Solution (Python):
N = input()
if int(N[0]) == 7:
    print('Yes')
elif int(N[1]) == 7:
    print('Yes')
elif 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=input()
if '7' in N:
  print('Yes')
else:
  print('No')

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

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

List = list(str(N))

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

Solution (Python):
n = input()

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

Solution (Python):
n  = input()

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

Solution (Python):
n = int(input())
a = set()
while n != 0:
    rem = n % 10
    a.add(rem)
    n //= 10
if 7 in a:
    print("Yes")

else:
    print("No")

Solution (Python):
n=int(input())
a=set()
while n!=0 :
    rem=n%10
    a.add(rem)
    n//=10
if 7 in a :
    print("Yes")
    
else :
    print("No")

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

Solution (Python):
import sys
N = sys.stdin.readline()
for i in N:
    if i == "7":
        print("Yes")
        exit()
print("No")

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

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

Solution (Python):
n=int(input())
a=set()
while n!=0 :
    rem=n%10
    a.add(rem)
    n//=10
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):
n=input()

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

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

Solution (Python):
import numpy as np

N=input()

Ans='No'

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

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

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

Solution (Python):
n = int(input())
c = False
while n>0:
    a = n%10
    n//=10
    if a == 7:
        c = True
if c:
    print("Yes")
else:
    print("No")

Solution (Python):
import sys
sys.setrecursionlimit(10 ** 9)
input = sys.stdin.readline
from itertools import permutations,  combinations, accumulate
from functools import *
from collections import deque, defaultdict, Counter
from heapq import heapify, heappop, heappush, heappushpop

INF = float('inf')
NIL = - 1


N = input().rstrip()
n_digits = list(map(int, list(N)))

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

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

Solution (Python):
N = input()

flag = False

for char in N:
  if char == '7':
    print('Yes')
    flag = True
    break

if flag == False:   
  print('No')

Solution (Python):
n=int(input())
a=set()
while n!=0 :
    rem=n%10
    a.add(rem)
    n/=10
if 7 in a :
    print("Yes")
    
else :
    print("No")

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

a = n//100
b, c = divmod(n%100, 10)
if a == 7 or b == 7 or c == 7:
	print("Yes")
else:
	print("No")

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

Solution (Python):

n = int(input())

a = (n // 100 == 7)
b = (n % 100 // 10 == 7)
c = (n % 10 == 7)

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

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

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

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

f = False
for i in range(len(N)):
  if N[i] == '7':
    f = True
    
if f:
  print('Yes')
else:
  print('No')

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

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

Solution (Python):
if __name__ == '__main__':
	if '7' in (list(input())):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.count('7') != 0:
  print('Yes')
else:
  print('No')

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

Solution (Python):
n = list(map(int, 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()
for ni in n:
    if ni == '7':
        print('Yes')
        quit()
print('No')

Solution (Python):
N=input()

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

Solution (Python):
def resolve():
    n=input()

    if  '7' in n:
        print('Yes')
    else:
        print('No')
if __name__ == "__main__":
    resolve()

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

try:
    for n in N:
        
        intN = int(n)
        if intN == 7:
            print("{}".format("Yes"))
            raise Exception
    print("{}".format("No"))
except:
    pass

Solution (Python):

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

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

Solution (Python):
n = int(input())
ans = 0
tmp = 0
for i in range(3):
    tmp = n % 10
    if tmp == 7:
        ans =1
    n = (n - tmp) / 10
if ans == 1:
    print('Yes')
else:
    print('No')

Solution (Python):
n = input()

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

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

Solution (Python):
a = input()

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

Solution (Python):
sequencia = input()

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

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

i :int=0
for st in N:
  if st=="7":
    print("Yes")
    break
  else:
    i+=1
if i==3:
  print("No")

Solution (Python):
n = int(input())
if 0 <= n % 700 < 100:
    print('Yes')
elif  n % 100 > 9 and 0<= (n % 100) % 70 < 10:
    print('Yes')
elif n % 10 == 7:
    print('Yes')
else:
    print('No')

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

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

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

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

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()
n=str(n)
t='nd'
for i in n:
    if i=='7':
        print('Yes')
        t='d'
        break
if t=='nd':print('No')

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

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

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

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

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

Solution (Python):
N = int(input())
h = N // 100
t = (N - h*100) // 10
o = N - h*100 - t*10
if h == 7 or t == 7 or o == 7:
    print("Yes")
else:
    print("No")

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

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

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

Solution (Python):
import sys

N = input()
ans = "Yes" if '7' in N else "No"

print(ans)

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

Solution (Python):
N = input()
if("7" 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):
a = int(input())
if (a%10 == 7) or (a//10%10 == 7) or (a//100%10 == 7):
    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()
    for x in n:
        if x == "7":
            print("Yes")
            return
    print("No")

if __name__ == "__main__":
    main()

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

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

Solution (Python):
from collections import deque
import math; floor,ceil = math.floor,math.ceil
import sys; input = lambda: sys.stdin.readline().rstrip()
aint = lambda: int(input()); ints = lambda: list(map(int, input().split()))
Yes = lambda boolean: print('Yes') if boolean else print('No')
YES = lambda boolean: print('YES') if boolean else print('NO')
is_even = lambda x: True if x%2==0 else False

def main():
    s = input()
    Yes(s[0]=='7'or s[1]=='7'or s[2]=='7')

if __name__ == '__main__':
    main()

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

Solution (Python):

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

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

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

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

x = n%10
if x==7:
  print("Yes")

else:
  y = n//10

  if y%10==7:
    print("Yes")

  else:
    z = y//10
    if z==7:
      print("Yes")
    else:
      print("No")

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

x=n%10

if x==7:
  print("Yes")  

else:
  y = n//10

  if y%10==7:
    print("Yes")
  
  else:
    z = y//10
    if z==7:
      print("Yes")
    else:
      print("No")

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

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

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

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

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

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

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

if a == '7':
  k += 1
elif b == '7':
  k += 1
elif c == '7':
  k += 1
if k == 0:
  print('No')
else:
  print('Yes')

Solution (Python):
S = [int(i) for i in list(input())]
has_seven = 0
for s in S:
    if s==7:
        has_seven = 1
if has_seven:
    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.count('7') > 0:
	print('Yes')
else:
	print('No')

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

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

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

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()
ans=0
for i in range(3):
    if int(n[i]) == 7:
        ans=1
print("Yes" if ans == 1 else "No")

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

Solution (Python):
def seven(x):
    for i in range(len(x)):
        if str[i]=='7':
            print("Yes")
            return
    print('No')  
str=input()
seven(str)

Solution (Python):
import sys
input = sys.stdin.readline
N = input()
assert 100 <= int(N) <= 999
print("Yes") if str(7) in N else print("No")