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


"""
NTC here
"""
import sys
inp = sys.stdin.readline
def input(): return inp().strip()
flush= sys.stdout.flush




def iin(): return int(input())


def lin(): return list(map(int, input().split()))





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

main()

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

Solution (Python):
N = input()

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

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

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

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

Solution (Python):
N = int(input())
if (N%10 == 7) or (N//10%10 == 7) or (N//100%10 == 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 or int(n[1])==7 or int(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):
S = input()

l = list(S)

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

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

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

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

for a in list(str(N)):
    if a == '7':
        print('Yes')
        exit()
print('No')

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

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

flag = False
for i in n:
    if i == '7':
        print("Yes")
        flag = True
        break

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

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

a = [int(i) for i in list(input())]


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

Solution (Python):
N =input()

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

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

Solution (Python):
def main():
    a = input()
    for i in a:
        if i == '7':
            print('Yes')
            exit()
    print('No')
if __name__ == '__main__':
    main()

Solution (Python):
def findSeven(N):
    for i in N:
        if i == '7':
            return 'Yes'
    return 'No'

N = input()
print(findSeven(N))

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

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

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

Solution (Python):
S = input()

if "7" in S:
    print('Yes')

else:
    print('No')

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

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

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

print('No' if a!='7' and b!='7' and c!='7' else 'Yes')

Solution (Python):


def solve():
    S = input()
    if S.find('7') >= 0:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    solve()

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

Solution (Python):
import bisect,collections,copy,itertools,math,numpy,string
def I(): return int(input())
def S(): return input()
def LI(): return list(map(int,input().split()))
def LS(): return list(input().split())

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

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

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

Solution (Python):
N=input()
if '7' in [N[0],N[1],N[2]]:
    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())
flag = False
for n in N:
    if n == str(7):
        flag = True
        break
        
if flag == True:
    print('Yes')
else:
    print('No')

Solution (Python):

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

Solution (Python):
Y = input()
flg = False
for i in Y:
    if i == '7':
        print("Yes")
        flg = True
        break
if not flg:
    print("No")

Solution (Python):
s=list(input())
if "7" in s:
  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):
import sys
s = input()
for i in s:
    if i == '7':
        print('Yes')
        sys.exit()
print('No')

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

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

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

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

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

Solution (Python):
if __name__ == '__main__':
    
    N = int(input())
    if N%10==7:
        print('Yes')
        exit()

    N = int(N/10)
    if N%10==7:
        print('Yes')
        exit()

    N = int(N/10)
    if N%10==7:
        print('Yes')
        exit()

    print('No')

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):
n = input()
for i in range(3):
    if n[i] == "7":
        print("Yes")
        exit()
print("No")

Solution (Python):

import sys

YES = "Yes"  
NO = "No"  


def solve(N: int):
    N = str(N)
    if '7' in N:
        print(YES)
    else:
        print(NO)
    return



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

if __name__ == '__main__':
    main()

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

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

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

Solution (Python):
N=input()
cnt=0
for i in N:
    if i == "7":
        cnt+=1

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

Solution (Python):
N = input()

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

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

has_seven = False

for n in N:
    if(n == '7'):
        has_seven = True
        break

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

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

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

Solution (Python):
n = input()

ans = n.find('7')

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

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

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

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

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

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

Solution (Python):
a=input()
q = -1
if a[0]=='7':
    q =1
elif a[1]=='7':
    q = 1
elif a[2]=='7':
    q = 1

if q > 0:
    print('Yes')
else:
    print('No')

Solution (Python):
n = int(input())
a = n%10
b = (n%100-a)//10
c = (n-a-b*10)//100

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

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

Solution (Python):
s = input()

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

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

Solution (Python):
import re

if re.match(".*7.*", input()):
    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):
N = input()

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

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

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

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

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

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

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

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

print(return_str)

Solution (Python):
n = input()

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

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

Solution (Python):
n = input()
judge = False
for i in range(len(n)):
    if n[i] == "7":
        judge = True
        break
if judge == True:
    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):
N = input()
print("Yes" if N.replace("7","") != N else "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 i in range(3):
    if N[i] == "7":
        a = True
        break
    else:
        a = False

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

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

Solution (Python):
import sys
import heapq, math
from itertools import zip_longest, permutations, combinations, combinations_with_replacement
from itertools import accumulate, dropwhile, takewhile, groupby
from functools import lru_cache
from copy import deepcopy

N = int(input())

if N % 10 == 7 or N // 10 % 10 == 7 or N // 100 % 10 == 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" 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 sys
from collections import Counter
from itertools import permutations, combinations
from fractions import gcd
from math import ceil, floor
sys.setrecursionlimit(10 ** 6)

def input():
    return sys.stdin.readline()[:-1]

def main():
    N = input()
    flag = False
    for l in N:
        if l == '7':
            flag = True
        else:
            pass
    if flag:
        print("Yes")
    else:
        print("No")

if __name__ == '__main__':
    main()

Solution (Python):

n=int(input())
m=str(n)
import sys
for i in range(3):
    if m[i]=='7':
        print('Yes')
        sys.exit()
print('No')

Solution (Python):
N = input()  


for i in N:

    if i == "7":
        print("Yes")
        exit()

print("No")

Solution (Python):
import sys
N = list(map(int, list(input())))
for n in N:
    if n == 7:
        print("Yes")
        sys.exit()
print("No")

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

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

print("No")

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

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

Solution (Python):

input_d11 = input()
N = str(input_d11)
t = 0
for i in N:
    if i == '7':
        t += 1
    else:
        pass
if t > 0:
    print('Yes')
else:
    print('No')

Solution (Python):





def solv(N):
    if "7" in N:
        return "Yes"
    return "No"


if __name__ == "__main__":

    
    
    N = input()
    ans = solv(N)

    print(ans)

Solution (Python):
import sys

N = input()

for N_char in N:
    if N_char == "7":
        print("Yes")
        sys.exit()
print("No")

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

Solution (Python):
a = input()

b = 0
for i in a:
  if i == '7':
    print('Yes')
    break
  b+=1
  if b == 3:
    print('No')

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

def check(N):
    for a in N:
        if a == '7':
            return 'Yes'
            
    return 'No'

print(check(N))

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

a = N%10
b = (N//10)%10
c = N//100

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

Solution (Python):
N = int(input())
d0 = N//100
a0 = N % 100
d1 = a0 // 10
d2 = a0 % 10
if d0 == 7:
    print('Yes')
elif d1 == 7:
    print('Yes')
elif d2 == 7:
    print('Yes')
else:
    print('No')

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

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

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

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

def check(N):
    if N//100==7:
        return True
    N = N - ((N//100)*100)
    if N//10==7:
        return True
    N = N - ((N//10)*10)
    if N==7:
        return True
    return False

if check(N):
    print("Yes")
else:
    print("No")

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

Solution (Python):
n=input()
flag=False
for c in n:
    if c=="7":
        flag=True 
        break
if flag:
    print('Yes')
else:
    print('No')

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

Solution (Python):
N = str(input())
n = 0
for i in N:
	if int(i)==7:
		print("Yes")
		break
	else:
		n += 1
if n == 3:
	print("No")

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

for i in range(4):
    if(N==0):
        print("No")
    a = N%10
    if(a == 7):
        print("Yes")
        break
    else:
        N = N//10

Solution (Python):
n = input()
ans = []
for i in n:
    if i == '7':
        ans.append(i)
if int(len(ans)) > 0:
    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):
q = input()
q = str(q)

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

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

n_100 = n // 100

n_10 = (n - (n_100 * 100)) // 10

n_1 = (n - (n_100 * 100) - (n_10 * 10)) // 1


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

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

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

Solution (Python):



N = int(input())

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

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

Solution (Python):
n = input()

ans = 'No'

for s in n:
    if s == '7':
        ans = 'Yes'

print(ans)

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

def split(word): 
    return [char for char in word]  
Numberlist=split(Nstring)
flag=0
if int(Numberlist[0])==7:
  flag=1
if int(Numberlist[1])==7:
  flag=1
if int(Numberlist[2])==7:
  flag=1
if flag==1:
  print('Yes')
else:
  print('No')

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

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

Solution (Python):
N=input()
N=N.replace('7','')
print('Yes' if len(N)<3 else 'No')

Solution (Python):
def main():
    N = input()

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


if __name__ == '__main__':
    main()

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

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

Solution (Python):
N = input()

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

Solution (Python):
def digit(n):
    while n:
        if n%10==7:
            return True
        n//=10
    return False
n=int(input())
if digit(n):
    print("Yes")
else:
    print("No")

Solution (Python):
s = input()

if s[0]=='7':
    print("Yes")
elif s[1]=='7':
    print("Yes")
elif s[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):
import itertools

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

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

Solution (Python):
N = input()

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

print(ans)

Solution (Python):
import sys
def input(): return sys.stdin.readline().rstrip()

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

if __name__ == '__main__':
    main()

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

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

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

is_lucky_7 = False
for n in n_list:
    if int(n) == 7:
        is_lucky_7 = True
        break
if is_lucky_7:
    print('Yes')
else:
    print('No')

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

a = S//100
b = (S%100)//10
c = ((S%100)%10)

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

Solution (Python):
n = input()
print('Yes' if '7' in n else '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()
flag = 0
for item in N:
    if item == '7':
        flag = 1
        break;

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

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

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

Solution (Python):
N = list(input())
flag = 0
for i in N:
    if 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):
def main():
    n = input()
    ns = str(n)
    nsl = list(ns)
    if '7' in nsl:
        print('Yes')
    else:
        print('No')


if __name__ == '__main__':
    main()

Solution (Python):
N = input()

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

Solution (Python):
import numpy as np
import sys
import math


n = input()

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

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

Solution (Python):
n = input()

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

Solution (Python):

h =list(input() )
z = False
for x in h:
    if x =="7":
        z =True
        break
if z ==True:
    print("Yes")
else:
    print("No")

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

count = 0
for i in N:
    if i == "7":
        count += 1

    else:
        continue

if count == 0:
    print("No")
else:
    print("Yes")

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

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

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

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

Solution (Python):
from sys import stdin

s = stdin.readline().rstrip()

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

Solution (Python):
n = set(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):
from collections import defaultdict
import math

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

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

find = False
for c in n:
    if c == '7':
        find = True
if find:
    print("Yes")
else:
    print("No")

Solution (Python):
def main():
    S = input()

    return '7' in S

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

Solution (Python):

import sys

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

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

flag = False

if N[0] == "7":
    flag = True

if N[1] == "7":
    flag = True

if N[2] == "7":
    flag = True


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

"""
Created on Sun Apr 12 20:58:59 2020

@author: H_Hoshigi
"""

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

Solution (Python):
x = list(str(input()))
ans = 1
for i in range(len(x)):
    if x[i] == "7":
        ans = 0
        break

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

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

Solution (Python):
n = input()
flag = False
for s in n:
    if s == "7":
        flag = True
        break

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

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

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

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

Solution (Python):
import sys

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

Solution (Python):
s = input()
i = 0
l = [s[0], s[1],s[2]]
for x in l:
    if int(x) == 7:
        i += 1

if i == 0:
    print("No")
else:
    print("Yes")

Solution (Python):
S=str(input())
if S[0]=='7' or S[1]=='7' or S[2]=='7':
  print('Yes')
else:
  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):
from sys import stdin



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

list_N = list(str(N[0]))

flag = False
for i in list_N:
    if i == '7':
        flag = True

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

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

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

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

Solution (Python):
N = input()

res = False
for s in N:
    if s == '7':
        res = True
        break

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

Solution (Python):



import sys


def input():
    return sys.stdin.readline()


def resolve():
    n = int(input())

    str_n = str(n)

    for s in str_n:
        if s == "7":
            print("Yes")
            exit()

    print("No")


if __name__ == "__main__":
    resolve()

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

Solution (Python):
N = list(input())
judge = False
for i in N:
    if int(i) == 7:
        judge = True
if judge == True:
    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()
N_0 = N[0]
N_1 = N[1]
N_2 = N[2]

if (N_0 == '7') or (N_1 == '7') or (N_2 == '7'):
    print('Yes')
else:
    print('No')

Solution (Python):
n = str(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('NYoe s'['7' in input()::2])

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

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

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

n = str(input().replace("\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):
num = int(input())

if 7 in list(map(int, str(num))):
    print("Yes")
else:
    print("No")

Solution (Python):




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

    ans = 'No'
    if n[0] == '7':
        ans = 'Yes'
    elif n[1] == '7':
        ans = 'Yes'
    elif n[2] == '7':
        ans = 'Yes'

    print(ans)

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

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

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

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

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

Solution (Python):
from collections import defaultdict, Counter
from heapq import heapify, heappop, heappush
from sys import stdin


def main():
    n = str(input())
    for i in range(len(n)):
        if n[i] == "7":
            print("Yes")
            return
    print("No")


def input(): return stdin.readline().rstrip()


main()

Solution (Python):

import sys
input = sys.stdin.readline


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


if __name__ == '__main__':
    main()

Solution (Python):


n = list(input())

flag = False
for i in range(3):
    if n[i] == '7':
        flag = True

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

Solution (Python):
num = input()
status = False
for i in range(len(num)):
    if num[i] == "7":
        status = True
if status == True:
    print("Yes")
else:
    print("No")