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 = str(input())
 
if N.find('7')!=-1:
  print('Yes')
else:
  print('No')

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

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

Solution (Python):



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

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

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

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

Solution (Python):






import sys
input = sys.stdin.readline

import math
from collections import deque
from fractions import gcd
from functools import lru_cache






MOD = 10**9+7
INF = float('inf')






def inputI(): return int(input().strip())
def inputS(): return input().strip()
def inputIL(): return list(map(int,input().split()))
def inputSL(): return list(map(str,input().split()))
def inputILs(n): return list(int(input()) for _ in range(n))
def inputSLs(n): return list(input().strip() for _ in range(n))
def inputILL(n): return [list(map(int, input().split())) for _ in range(n)]
def inputSLL(n): return [list(map(str, input().split())) for _ in range(n)]


def inv(n): return pow(n, MOD-2, MOD)


kaijo_memo = []
def kaijo(n):
  if(len(kaijo_memo) > n):
    return kaijo_memo[n]
  if(len(kaijo_memo) == 0):
    kaijo_memo.append(1)
  while(len(kaijo_memo) <= n):
    kaijo_memo.append(kaijo_memo[-1] * len(kaijo_memo) % MOD)
  return kaijo_memo[n]

gyaku_kaijo_memo = []
def gyaku_kaijo(n):
  if(len(gyaku_kaijo_memo) > n):
    return gyaku_kaijo_memo[n]
  if(len(gyaku_kaijo_memo) == 0):
    gyaku_kaijo_memo.append(1)
  while(len(gyaku_kaijo_memo) <= n):
    gyaku_kaijo_memo.append(gyaku_kaijo_memo[-1] * pow(len(gyaku_kaijo_memo),MOD-2,MOD) % MOD)
  return gyaku_kaijo_memo[n]

def nCr(n,r):
  if(n == r):
    return 1
  if(n < r or r < 0):
    return 0
  ret = 1
  ret = ret * kaijo(n) % MOD
  ret = ret * gyaku_kaijo(r) % MOD
  ret = ret * gyaku_kaijo(n-r) % MOD
  return ret


def factorization(n):
    arr = []
    temp = n
    for i in range(2, int(-(-n**0.5//1))+1):
        if temp%i==0:
            cnt=0
            while temp%i==0:
                cnt+=1
                temp //= i
            arr.append([i, cnt])
    if temp!=1:
        arr.append([temp, 1])

    if arr==[]:
        arr.append([n, 1])
    return arr


def lcm(a, b):
    return a * b // gcd (a, b)





N = inputS()

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

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

Solution (Python):
def main():
    S = input()
    if S.find("7") != -1:
        print("Yes")
    else:
        print("No")
if __name__ == "__main__":
    main()

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

Solution (Python):
from sys import stdin

N = int(stdin.readline().rstrip())


a=N%10
b=((N-a)/10)%10
c=(N-10*b-a)/100
n=[a,b,c]
if 7 in n:
    print('Yes')

else:
    print('No')

Solution (Python):
n = input()

nn = list(n)
flag = 0

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

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

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

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

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

Solution (Python):
import math as mat
N = int(input())
A = int(mat.floor(N/100))
B = int(mat.floor((N-A*100)/10))
C = int(mat.floor(N-A*100-B*10))
if A == 7 or B == 7 or C == 7 :
    ans = str('Yes')
else:
    ans = str('No')

print(ans)

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):
num = int(input())
n100 = num//100
n10 = (num-n100*100)//10
n1 = (num-n100*100-n10*10)

if n100 == 7 or n10 == 7 or n1 == 7:
  print('Yes')
else:
  print("No")

Solution (Python):
result = False

list = list(input())



for num in range(len(list)):
    
    
    if int(list[num]) == 7:
        result = True
        print('Yes')
        break

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

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

Solution (Python):
N = input()

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

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

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

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

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

for i in a:
  if i == '7':
    print("Yes")
    exit(0)
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 = input()

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

Solution (Python):
N = list(str(input()))
cnt = 0
for a in N:
    if a == '7':
        cnt += 1
        print("Yes")
        break
if cnt == 0:
    print("No")

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

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

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

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

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

s = set(s)

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

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

Solution (Python):
s = input()

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

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

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

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

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

Solution (Python):
n = input()

x = n.count("7")

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

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

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

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

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

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

Solution (Python):
a = str(input())
seven = False

for i in range(len(a)):
    if a[i] == '7':
        seven = True
        break

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

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

Solution (Python):
N = input()
flg = False

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

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

Solution (Python):
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N = str(sys.stdin.read())
flag = False

for s in N:
    if s == '7':
        flag = True

if flag:
    print('Yes')
else:
    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):
m = input()

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

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

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

Solution (Python):
n = input()

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

print("No")

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

ans="Yes" if "7" in l else "No"

print(ans)

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

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

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

if N%10 == 7:
  print("Yes")
elif (N - N%10)%100 == 70:
  print("Yes")
elif (N - N%100) == 700:
  print("Yes") 
else :
  print("No")

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

Solution (Python):
import math
N = int(input())
if N%10 == 7:
  print("Yes")
elif (N-N%10)%100 == 70:
  print("Yes")
elif N-N%100 == 700:
  print("Yes")
else:
  print("No")

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

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

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

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

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

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

Solution (Python):
a = int(input())
if (a-7) % 10 == 0:
  print("Yes")
elif (a-70) % 100 < 10:
  print("Yes")
elif a >= 700 and a < 800:
  print("Yes")
else:
  print("No")

Solution (Python):
digits = input()
if '7' in digits:
    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,b,c=input()
if a=='7' or b=='7' or c=='7':
    print('Yes')
else:
    print('No')

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

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

while (n>0):
    if ((n%10) == 7):
        mybool = True
        break
    n = n//10

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

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

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

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

Solution (Python):

N = int(input())


fl = False
for n in str(N):
    if int(n) == 7:
        fl = True


if fl is True:
    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.count('7') 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()
ans = list(set(N))

if ans.count('7'):
    print('Yes')
else:
    print('No')

Solution (Python):
import sys

A = input()

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

Solution (Python):
def f(n):
  return '7' in n
 
print 'Yes' if f(raw_input()) else 'No'

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

Solution (Python):
"""
her basamağaa bak, if 7 varsa print yes else print no :)

1. 526 572 777 : "526" "572" "777" 
"""
flag = False

N = input()
N = int(N)

for i in range(3) :
    if N%10==7:
        flag = True
    N = N//10
 
    
if flag :
    print("Yes")
else :
    print("No")

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

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

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

s=0

for i in range(0,3):

    if int(n[i])==7:

        s+=1
    else:pass

if s>=1:
    print("Yes")

else:print("No")

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

s=0

for i in range(0,3):

    if int(n[i])==7:

        s+=1
    else:pass

if s>=1:
    print("Yes")

else:print("No")

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

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

Solution (Python):
n = input()
x = len(n)
b = 'false'
for i in range(x):
    if n[i] is '7':
        b = 'true'
        print('Yes')
        break
if b is not 'true':
  print('No')

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

k1 = (n - n%100) / 100
k2 = (n%100 - n%10) / 10
k3 = n%10

if (k1==7 or k2==7 or k3==7):
    print('Yes')
else:
    print('No')

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

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

Solution (Python):
n = input()
if '7' in n:
    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):
a=int(input())
while(a>0):
  k=a%10
  if k==7:
    print("Yes")
    exit()
  a//=10
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 N[0] == "7" or N[1] == "7" or N[2] == "7":
    print("Yes")
else:
    print("No")

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

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

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

Solution (Python):
"""
    Author : thekushalghosh
    Team   : CodeDiggers
"""
import sys,math,cmath,time
start_time = time.time()

def inp():
    return(int(input()))
def inlt():
    return(list(map(int,input().split())))
def insr():
    s = input()
    return(s[:len(s) - 1])
def invr():
    return(map(int,input().split()))


 
def solve():
  n = inp()
  if "7" in list(str(n)):
    print("Yes")
  else:
    print("No")


ONLINE_JUDGE = __debug__
if not ONLINE_JUDGE:
    sys.stdin = open('input.txt','r')
    sys.stdout = open('output.txt','w')
else:
    input = sys.stdin.readline
t = 1
for tt in range(t):
    solve()
if not ONLINE_JUDGE:
    print("Time Elapsed:",time.time() - start_time,"seconds")
sys.stdout.close()

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

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

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

Solution (Python):
a = int(input())
b = a//100
c = a//10 - b*10
d = a%10
if b != 7 and c != 7 and d != 7:
  print('No')
else:
  print('Yes')

Solution (Python):
N = input()
s = list(map(int,list(N)))
for i in range(0,3,1):
    if s[i]==7:
        print("Yes")
        exit()
print("No")

Solution (Python):
num = input()
if '7' in num:
	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):
num = list(input())
ans = 'No'
if '7' in num:
  ans = 'Yes'
  
print(ans)

Solution (Python):

n = str(input())


if "7" in n :
    text = "Yes"
else :
	text = "No"


print(text)

Solution (Python):

import math

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

Solution (Python):
str=input()
check=0
for s in str:
  if s=="7":
    check+=1
if check==0:
  print("No")
else:
  print("Yes")

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

Solution (Python):
n = int(input())
n_100 = int(n / 100)
n_10 = int((n - n_100*100) / 10)
n_1 = int(n-n_100*100-n_10*10)

if n_100 == 7 or n_10 ==7 or n_1 ==7:
  print("Yes")
else:
  print("No")

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

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

Solution (Python):
n = int(input())
n1 = n % 10
n2 = n // 100
n3 = n // 10
n4 = n3 % 10
if n1 == 7 or n2 == 7 or n4 == 7:
    print("Yes")
else:
    print("No")

Solution (Python):
number = input()
numbers = list(number)
checkN = 0
for n in numbers:
    checkN += 1
    checkNum = n
    if int(checkNum) == 7:
        print("Yes")
        break
    if  checkN == 3:
        print("No")

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

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

Solution (Python):
a=int(input())
b=a//100
c=(a//10)%10
d=(a%100)%10
if b==7 or c==7 or d==7:
  print("Yes")
else:
  print("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")
        exit()
    else:
        n = int( n / 10 )

print("No")

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

if __name__ == '__main__':
    quest_a()

Solution (Python):
input_str=input()

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

Solution (Python):
def main():
	s = int(input())

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

if __name__ == '__main__':
	main()

Solution (Python):
import sys
input = sys.stdin.readline
n = int(input())
if n // 100 == 7:
    print("Yes")
    sys.exit()
n = n % 100
if n // 10 == 7:
    print("Yes")
    sys.exit()
n = n % 10
if n == 7:
    print("Yes")
    sys.exit()
print("No")

Solution (Python):
def calc(N):
    for n in N:
        if n == '7':
            print('Yes')
            return 0
    
    print('No')
    return 0

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

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

Solution (Python):
l = list(input())
if '7' in l:
  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 math
N = int(input())
A = math.floor((N / 100))
B = math.floor(((N - (100*A)) / 10))
C = (N-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=input()
print("Yes" if "7" in num else "No")

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

Solution (Python):
n = int(input())
 
n = str(n)
 
flag = 0
 
for i in n:
  if(i != '7'):
    flag = 0
  else:
    flag = 1
    break
 
    
if flag == 0:
  print('No')
else :
  print('Yes')

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


if __name__ == '__main__':
    solve()

Solution (Python):
n = input()
flag = 0
for s in n:
    if s=='7':flag = 1
if flag:print('Yes')
else :print('No')

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

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

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

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

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

if len(N) == 3 and '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 len(N) == 3 and '7' in str(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("Yes" if ('7' in list(input())) else "No")

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

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

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

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

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

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

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

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

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

Solution (Python):

def import_number():
    return int(input())


def import_string():
    return str(input())


def import_int(n):
    return [int(input()) for i in range(n)]

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

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

Solution (Python):
import sys


try:
    sys.stdin = open(sys.path[0] + '\\input.txt', 'r')
    sys.stdout = open(sys.path[0] + '\\output.txt', 'w')
except FileNotFoundError:
    pass


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

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

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

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

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

print(ans)

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

Solution (Python):
import sys

N = sys.stdin.readline()

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(["No","Yes"]["7" in input()])

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 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):

import math
import fractions
import bisect
import collections
import itertools
import heapq
import string
import sys
import copy
from decimal import *
from collections import deque
from math import gcd
sys.setrecursionlimit(10**7)
MOD = 10**9+7
INF = float('inf') 
def lcm(a,b):return (a*b) // gcd(a,b) 
def iin(): return int(sys.stdin.readline()) 
def ifn(): return float(sys.stdin.readline()) 
def isn(): return sys.stdin.readline().split() 
def imn(): return map(int, sys.stdin.readline().split()) 
def imnn(): return map(lambda x:int(x)-1, sys.stdin.readline().split()) 
def fmn(): return map(float, sys.stdin.readline().split()) 
def iln(): return list(map(int, sys.stdin.readline().split())) 
def iln_s(): return sorted(iln()) 
def iln_r(): return sorted(iln(), reverse=True) 
def fln(): return list(map(float, sys.stdin.readline().split())) 
def join(l, s=''): return s.join(l) 
def perm(l, n): return itertools.permutations(l, n) 
def perm_count(n, r): return math.factorial(n) // math.factorial(n-r) 
def comb(l, n): return itertools.combinations(l, n) 
def comb_count(n, r): return math.factorial(n) // (math.factorial(n-r) * math.factorial(r)) 
def two_distance(a, b, c, d): return ((c-a)**2 + (d-b)**2)**.5 
def m_add(a,b): return (a+b) % MOD
def lprint(l): print(*l, sep='\n')
def sieves_of_e(n):
    is_prime = [True] * (n+1)
    is_prime[0] = False
    is_prime[1] = False
    for i in range(2, int(n**0.5)+1):
        if not is_prime[i]: continue
        for j in range(i * 2, n+1, i): is_prime[j] = False
    return is_prime

N = input()

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

Solution (Python):
from math import gcd

from math import factorial as f

from math import ceil,floor,sqrt


import bisect
import re
import heapq


from copy import deepcopy
import itertools

from sys import exit

ii = lambda : int(input())
mi = lambda : map(int,input().split())
li = lambda : list(map(int,input().split()))

yes = "Yes"
no = "No"

def main():
    n = input()
    for i in n:
        if i == '7':
            print(yes)
            exit()
    print(no)


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):
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):

from sys import stdin,setrecursionlimit
setrecursionlimit(10 ** 7)
s = input()
if "7" in s:
    print("Yes")
else:
    print("No")

Solution (Python):
N = input()

F = False

for T in N:
    if T == '7':
        F = True
        
if F :
    print('Yes')
else :
    print('No')

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

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

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

Solution (Python):
def main():

    N = input()
    if '7' in N: return "Yes"
    return "No"

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

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

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

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

n = input().rstrip()

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

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

n = input().rstrip()

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

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

Solution (Python):
s=input()

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

Solution (Python):
Number_input = input()
count = 0
for i in Number_input:
    if 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 = str(input())
flag = 0
for i in range(len(N)):
    if int(N[i]) == 7:
        print ('Yes')
        flag = 1
        break
if flag == 0:
    print ('No')

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

Solution (Python):
N = input()

number = list(N)

if int(number[0])==7 or int(number[1])==7 or int(number[2])==7:
    print("Yes")

else:
    print("No")

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

Solution (Python):
s = input()
c = 0
is_ok = False
for n in s:
    if (n == '7'):
        is_ok = True
        break;
if (is_ok):
    print('Yes')
else:
    print('No')

Solution (Python):
N=input()

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

else:
  print('No')

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

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

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

Solution (Python):
s=str(input())
flag=0
for i in range(len(s)):
  if s[i]=='7':
    flag=1
if flag:
  print('Yes')
else:
  print('No')

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

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

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

Solution (Python):

from collections import defaultdict, deque
from heapq import heappush, heappop
from itertools import permutations
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)
mod = 1000000007


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


if __name__ == "__main__":
    solve()

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

Solution (Python):
N = int(input())
A = [0, 0, 0]
bool = 0
for i in range(3):
  A[i] = N % 10
  N = (N - A[i])/10
  if A[i] == 7:
    print('Yes')
    bool = 1
    break
if bool == 0:
    print('No')

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

print(ans)

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

if a!='':
  print('No')

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