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):
ini = lambda : int(input())
inm = lambda : map(int,input().split())
inl = lambda : list(map(int,input().split()))
gcd = lambda x,y : gcd(y,x%y) if x%y else y
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 make_divisors(n):
    divisors = []
    for i in range(1, int(n**0.5)+1):
        if n % i == 0:
            divisors.append(i)
            if i != n // i:
                divisors.append(n//i)
    divisors.sort()
    return divisors


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

def main():
    s = input()
    flg = False
    for i in s:
        if i == '7':
            flg = True
    if flg:
        print('Yes')
    else:
        print('No')


if __name__ == "__main__":
    main()

Solution (Python):
import math
def main():
    n = input()
    for nn in n:
        if int(nn) == 7:
            print("Yes")
            return
    print("No")
    return
    

main()

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

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

if __name__ == "__main__":
    solve()

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):
s=input()
if '7' in s:
  print('Yes')
else:
  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):
print(['No', 'Yes']['7' in input()])

Solution (Python):
N = input()

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

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

Solution (Python):
N = input()
for i in range(3):
    if N[i] == '7':
        print('Yes')
        exit(0)
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 = 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):
import re


n = input()
m = re.search("7", n)
if m:
    print("Yes")
else:
    print("No")

Solution (Python):
N = int(input())
a = N // 100
b = N % 10
c = N // 10
d = c % 10
if a ==7 or b == 7 or d ==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 input() else 'No')

Solution (Python):
n=str(input())
for i in range(3):
    if n[i] =="7":
        print("Yes")
        break
    if i==2:
        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()
print("Yes" if '7' in N else "No")

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

print(ans)

Solution (Python):
N = str(input())
for i in N:
    if 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 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):
score = int(input())
answer = 0
for i in range(3):
    if int(score/(10**i))%10 == 7:
        answer = 1
        break
if answer == 1:
    print('Yes')
else:
    print('No')

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

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

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

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

Solution (Python):
print("7" in input() and "Yes" or "No")

Solution (Python):
n = input()
flg = False
for i in range(len(n)):
    if n[i] == '7':
        flg = True
print('Yes') if flg 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):
def main():
    S = input()
    cond = '7' in S
    print('Yes' if cond else 'No')


if __name__ == '__main__':
    main()

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

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

print(ans)

Solution (Python):
N = input()

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

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

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

Solution (Python):
N = input()

flag = 0

for i in range(3):
  if(int(N[i])==7):
    flag = 1
    break
if(flag == 0):
  print("No")
else:
  print("Yes")

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

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

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

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

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

for i in range(len(N)):
    if N[i] == "7":
        ans = "Yes"
        break

print(ans)

Solution (Python):
N = input()

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

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

ans = 'No'

for i in range(len(n)):
    if n[i] == '7':
        ans = 'Yes'

print(ans)

Solution (Python):
n = input()

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

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

answer = 'No'
for i in range(len(N)):

    if N[i] == '7':
        answer = 'Yes'
print(answer)

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

Solution (Python):
N = input()

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

Solution (Python):
N = input()

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

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

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

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

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

Solution (Python):
N = input()

for i in range(3):
    if N[i]=='7':
        print("Yes")
        quit(0)
print("No")

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

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

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

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

Solution (Python):
import sys
print('Yes' if '7' in next(sys.stdin) else '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):
print('Yes' if '7' in input() else 'No')

Solution (Python):
import sys, bisect, math, itertools, string, queue, copy
import numpy as np
import scipy
from collections import Counter,defaultdict,deque
from itertools import permutations, combinations
from heapq import heappop, heappush
from fractions import gcd
input = sys.stdin.readline
sys.setrecursionlimit(10**8)
mod = 10**9+7
def inp(): return int(input())
def inpm(): return map(int,input().split())
def inpl(): return list(map(int, input().split()))
def inpls(): return list(input().split())
def inplm(n): return list(int(input()) for _ in range(n))
def inplL(n): return [list(input()) for _ in range(n)]
def inplT(n): return [tuple(input()) for _ in range(n)]
def inpll(n): return [list(map(int, input().split())) for _ in range(n)]
def inplls(n): return sorted([list(map(int, input().split())) for _ in range(n)])

n = input()
a = n.count("7")
ans = "No"
if a > 0:
    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):
s = input()
a = [int(c) for c in s]

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

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

flag = True
for i in range(3):
    if '7' == s[i]:
        print('Yes')
        flag = False
        break
if flag:
    print('No')

Solution (Python):


def main():

    N = int(input())

    listN = list(map(int, str(N)))

    if 7 in listN:
        ans = 'Yes'

    else:
        ans = 'No'

    print(ans)


if __name__ == "__main__":
    main()

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

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

Solution (Python):
n = input()

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

print('No')

Solution (Python):












































global FLAG_LOG
FLAG_LOG = False


def log(value):
    
    
    if FLAG_LOG:
        print(str(value))


def calculation(lines):
    
    N = int(lines[0])
    
    
    
    
    
    
    
    
    

    if '7' in str(N):
        result = 'Yes'
    else:
        result = 'No'

    return [result]



def get_input_lines(lines_count):
    lines = list()
    for _ in range(lines_count):
        lines.append(input())
    return lines



def get_testdata(pattern):
    if pattern == 1:
        lines_input = ['117']
        lines_export = ['Yes']
    if pattern == 2:
        lines_input = ['123']
        lines_export = ['No']
    if pattern == 3:
        lines_input = ['777']
        lines_export = ['Yes']
    return lines_input, lines_export



def get_mode():
    import sys
    args = sys.argv
    global FLAG_LOG
    if len(args) == 1:
        mode = 0
        FLAG_LOG = False
    else:
        mode = int(args[1])
        FLAG_LOG = True
    return mode



def main():
    import time
    started = time.time()
    mode = get_mode()
    if mode == 0:
        lines_input = get_input_lines(1)
    else:
        lines_input, lines_export = get_testdata(mode)

    lines_result = calculation(lines_input)

    for line_result in lines_result:
        print(line_result)

    
    
    
    
    
    
    
    
    
    
    



if __name__ == '__main__':
    main()

Solution (Python):
import math
N = int(input())
v = False
while N != 0:
    i = N - (N // 10) * 10
    v |= (i == 7)
    N //= 10
if v == True:
    print("Yes")
else:
    print("No")

Solution (Python):
n = int(input())
num = []
while n>0:
  num.append(n%10)
  n //= 10

ans = 0
for i in num:
  if i == 7:
    ans+=1
    break
  else:
    ans = 0
    
if ans >= 1:
  print("Yes")
elif ans==0:
  print("No")

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

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

Solution (Python):


from typing import *
import collections
import itertools
import math
import sys

INF = float('inf')
YES = "Yes"  
NO = "No"  


def solve(N: int):
    return [NO, YES]['7' in str(N)]


def main():

    sys.setrecursionlimit(10 ** 6)

    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  
    print(f'{solve(N)}')


if __name__ == '__main__':
    main()

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

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

Solution (Python):
print('Yes'if input().count('7')else'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):
import sys
N = int(input())
strN = str(N)

if not ( 100 <= N <= 999 ): sys.exit()

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

Solution (Python):
import sys

N = input()

for i in range ( len ( N )):
    if '7' == N[i] :
        print("Yes")
        sys.exit()
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 N.count("7"):
	print("Yes")
else:
	print("No")

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

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

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

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

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

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

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

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

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

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

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

Solution (Python):
import sys
n=input()
for x in n:
  if x == "7":
    print("Yes")
    sys.exit()
print("No")

Solution (Python):
N = input()
if N[-1] == "7" or N[0] == "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 = input()

if n[0]=="7":
    print("Yes")
    exit()

if n[1]=="7":
    print("Yes")
    exit()

if n[2]=="7":
    print("Yes")
    exit()

print("No")

Solution (Python):
n = input()
ans = 'No'

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

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

Solution (Python):

n = input().count('7')
if n == 0:
    ans = 'No'
else:
    ans = 'Yes'

print(ans)

Solution (Python):


N = input()

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

Solution (Python):
def luckey7():
    
    N = input()
    
    if '7' in N:
        return 'Yes'
    else:
        return 'No'

result = luckey7()
print(result)

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

Solution (Python):

def main():
    N = input()

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

main()

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

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

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

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

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

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

Solution (Python):
N = input()

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

Solution (Python):
N = input()

ans = 'No'

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

print(ans)

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

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

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

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

if n//100 != 7 and (n-(n//100)*100)//10 != 7 and n-(n//10)*10 != 7:
  print('No')
else:
  print('Yes')

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

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

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

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

Solution (Python):
import sys
sys.setrecursionlimit(10**7)
input = sys.stdin.readline

s = input()

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

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

Solution (Python):
import sys

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007


def main():
    N = readline().strip()

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

    return


if __name__ == '__main__':
    main()

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

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

Solution (Python):
N=input()
i=0
while 1:
    for a in N:
        if a=="7":
            print("Yes")
            i=1
            break
    if i==1:
        break
    print("No")
    break

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

Solution (Python):

x = input()
if x[0]=="7" or x[1]=="7" or x[2]=="7":
    ans = "Yes"
else:
    ans = "No"

print(ans)

Solution (Python):
N = input()

ans = "No"
for s in N:
    if s == "7":
        ans = "Yes"
        break
print(ans)

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

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

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

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

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

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

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

Solution (Python):
N = input()

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

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

Solution (Python):
n=int(input())
if n%10==7:
    print("Yes")
    exit()
n//=10
if n%10==7:
    print("Yes")
    exit()
n//=10
if n%10==7:
    print("Yes")
    exit()
print("No")

Solution (Python):
N = input()

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

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

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

Solution (Python):
N = input()

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

print(ans)

Solution (Python):
N = int(input())
ans = "No"
if N % 10 == 7:
  ans = "Yes"
if ( N // 10 ) % 10 == 7:
  ans = "Yes"
if ( N // 100 ) % 10 == 7:
  ans = "Yes"
print(ans)

Solution (Python):
N = int(input())
for _ in range(3):
  if N%10==7:
    print("Yes")
    break
  N //=10
else:
  print("No")

Solution (Python):
N=int(input())
a=int(N/100)
b=int((N-100*a)/10)
c=N-100*a-10*b
if a==7 or b==7 or c==7:
  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 n.count('7') > 0:
  print('Yes')
else:
  print('No')

Solution (Python):
N = input()

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

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

Solution (Python):
N = input()

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

else:
    print('No')

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

Solution (Python):
N = input()

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

Solution (Python):
a = input()

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

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

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

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

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

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

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

Solution (Python):

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


if __name__ == '__main__':
    main()

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

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

Solution (Python):
N = list(input())
mylist=[int(n)for n in N]

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

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

Solution (Python):
N=input()


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

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

Solution (Python):
import sys 
import numpy as np
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
N = readline().decode().rstrip()
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 '7' in input() 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 = list(input())

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

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

digit = []

div_num = 10

while(True):
    digit.append(N % div_num)
    if(N % div_num == N):
        break;
    N //= div_num 

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

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

def int1(x): return 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)]
def MS(): return input().split()
def LS(): return list(input())
def LLS(rows_number): return [LS() for _ in range(rows_number)]
def printlist(lst, k=' '): print(k.join(list(map(str, lst))))
INF = float('inf')







def solve():
    N = LS()

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


if __name__ == '__main__':
    solve()

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

Solution (Python):
x=str(input())
for i in range(len(x)):
  if int(x[i]) == 7:
    print('Yes')
    exit()
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 int(n[i]) == 7:
    print('Yes')
    exit()

print('No')

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

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

Solution (Python):
def index(n):
    result = "Yes" if '7' in n else "No"
    return result

print(index(str(input())))

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

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

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

Solution (Python):
from sys import exit

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

print('No')

Solution (Python):
n = int(input())
k = n//10
if n%10 == 7:
  print("Yes")

elif k%10 == 7:
  print("Yes")

elif n//100 == 7:
  print("Yes")

else:
  print("No")

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

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

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

Solution (Python):

from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
from string import ascii_lowercase
from functools import lru_cache
import sys
sys.setrecursionlimit(10000)
INF = float("inf")
YES, Yes, yes, NO, No, no = "YES", "Yes", "yes", "NO", "No", "no"
dy4, dx4 = [0, 1, 0, -1], [1, 0, -1, 0]
dy8, dx8 = [0, -1, 0, 1, 1, -1, -1, 1], [1, 0, -1, 0, 1, 1, -1, -1]


def inside(y, x, H, W):
    return 0 <= y < H and 0 <= x < W


def ceil(a, b):
    return (a + b - 1) // b


def sum_of_arithmetic_progression(s, d, n):
    return n * (2 * s + (n - 1) * d) // 2


def gcd(a, b):
    if b == 0:
        return a
    return gcd(b, a % b)


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


def solve():
    N = input()
    if "7" in N:
        print(Yes)
    else:
        print(No)


def main():
    solve()


if __name__ == '__main__':
    main()

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 = 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):
flag = False
for i in input():
  if i == '7':
    print('Yes')
    flag = True
    break
if not flag:
  print('No')

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

Solution (Python):
def main():

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

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

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

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

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

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

print("No")

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