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):
int = int(input())
st = str(int)
chars = list(st)
if chars[0] == "7":
  print("Yes")
elif chars[1] == "7":
  print("Yes")
elif chars[2] == "7":
  print("Yes")
else:
  print("No")

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

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

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

Solution (Python):
if __name__ == '__main__':
    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):
numbers = str(input())
ans = 0
for i in range(3):
	if numbers[i] == "7":
  		ans =1
if ans == 0:
	print("No")
else :
	print("Yes")

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

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

x1=x//100
x2=(x%100)//10
x3=x%10

if(x1==7 or x2==7 or x3==7):
  print("Yes")
else:
  print("No")

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

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

hyaku = N // 100
resi = N - (100 * hyaku)
ju = resi // 10
iti = resi % 10

n = hyaku * ju * iti

if not hyaku == 7:
  if not ju == 7:
    if not iti == 7:
      print('No')
    else:
      print('Yes')
  else:
    print('Yes')
else:
  print('Yes')

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

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

Solution (Python):
import numpy as np

N=int(input())
a=N//100
b=(N-a*100)//10
c=N-a*100-b*10
if (a%7==0 and a!=0) or (b%7==0 and b!=0) or (c%7==0 and c!=0):
    print("Yes")
else:
    print("No")

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

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

Solution (Python):
def main(): 
    N = int(input())
    NUM = list(str(N))
    NUM = list(map(int,NUM))
    
    for i in NUM:
        if int(i) == 7:
            print("Yes")
            exit(0)
    print("No")
    
main()

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

hund = num // int(100) 
num_tens = num % 100 
tens = num_tens // 10 
ones = num_tens % 10

if (hund == 7 or  tens ==7 or ones == 7):
	print("Yes")
else:
	print("No")

Solution (Python):
s=input()
a=[int(c) for c in s]
flag=False
for i in a:
  if i==7:
    flag=True
if flag==True:
  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):
n = input()
if '7' in n:
    print('Yes')
else:
    print('No')

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

Solution (Python):
x = list(input())
j = 0
for i in x:
  if int(i) == 7:
    j = 1

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

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

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

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

ans=0
if a==7:
  ans+=1
if b==7:
  ans+=1
if c==7:
  ans+=1
if ans==0:
  print("No")
else:
  print("Yes")

Solution (Python):
import sys; sys.setrecursionlimit(2147483647); input = sys.stdin.readline
from math import floor, ceil, sqrt, factorial, log
from collections import Counter, defaultdict, deque
from operator import itemgetter
INF = float('inf'); MOD = 10**9+7
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(MI())
def LIR(n): return [LI() for i in range(n)]
def IS(): return input().rstrip()

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

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

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

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

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

Solution (Python):
n = input()

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

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

def II(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())

def LI(): return list(map(int, sys.stdin.readline().split()))

def LLI(rows_number): return [LI() for _ in range(rows_number)]

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):
li=str(input())
for i in range(len(li)):
  if li[i] =="7":
    print("Yes")
    break
  if i == len(li)-1:
      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):


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

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

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


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



if __name__ == '__main__':
    solve()

Solution (Python):


N = int(input())
if '7' in str(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):
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):
num=input()
num=list(num)
if int(num[0])==7 or int(num[1])==7 or int(num[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):
N = int(input())

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

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

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

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

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

Solution (Python):
n = list(map(int, input()))
flg = 0
if n[0]==7:
  flg = 1
if n[1]==7:
  flg = 1
if n[2]==7:
  flg = 1

if flg == 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):

import sys

YES = "Yes"  
NO = "No"  


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

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

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

X = str(N)

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

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

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

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

Solution (Python):
n = input()
if n.count('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):
n=input()
flg = 0
for s in n:
    if s == '7':
        flg = 1
 
if flg == 1:
      print('Yes')
else:
      print('No')

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

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

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

Solution (Python):
i = input()

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

Solution (Python):

n = int(input())
if n % 10 != 7 and (n - (n % 10)) % 100 != 70 and (n - (n % 10) - ((n - (n % 10)) % 100)) % 1000 != 700:
  print("No")
else:
    print("Yes")

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

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

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

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

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

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

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

Solution (Python):
n =list(map(int, input().strip()))

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

Solution (Python):
def main():
    N = int(input())
    a = N // 100
    b = (N % 100) // 10
    c = N % 10
    l = [a, b, c]
    if 7 in l:
        output = 'Yes'
    else:
        output = 'No'
    print(output)

main()

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

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

else:
    print("No")

Solution (Python):
n=int(input())
flag=0
while (n!=0):
    if((n%10)==7):
        print('Yes')
        flag+=1
        break
    else:
        n=n//10
if(flag==0):
    print('No')

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

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

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

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

Solution (Python):
x = input()
y = [int(x) for x in list(x)]
if 7 in y:
	print('Yes')

else:
	print('No')

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

Solution (Python):
N = input()
match_flg = 0
for nn in N:
  if( nn== "7" ):
    print( "Yes" )
    match_flg = 1
    break
if( match_flg == 0 ):
	print("No")

Solution (Python):
n = input()
flag = "ng"
for i in n:
  if i == "7":
    flag = "ok"
    break
if flag == "ng":
  print("No")
else:
  print("Yes")

Solution (Python):
N = int(input())
oh = N//100
ot = (N-oh*100)//10
oo = N-oh*100-ot*10
if oh==7 or ot==7 or oo==7:
    print('Yes')
else:
    print('No')

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

for i in range(0,3):
    if( n % 10 == 7):
        print("Yes")
        break
    n = int(n / 10)
else:
    print("No")

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

Solution (Python):
a, b, c = input()
flag = 'No'

if int(a)==7:
    flag = 'Yes'
elif int(b)==7:
    flag = 'Yes'
elif int(c)==7:
    flag = 'Yes'

print(flag)

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

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

Solution (Python):
N=input()
counts=0
for i in range(0,len(N)):
    
    if N[i]=='7':
        counts+=1
        
        
    else:
        counts+=0

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

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

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

if int(N/100)==7:
  print('Yes')
elif int((N%100)/10)==7:
  print('Yes')
elif (N%10)==7:
  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):
n = int(input())
if n%10==7:
  print('Yes')
else:
  n=n//10
  if n%10==7:
    print('Yes')
  elif n//10==7:
    print('Yes')
  else:
    print('No')

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

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

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

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







if F >= 100 and (int(N[-1]) == 7 or int(N[-2])==7 or int(N[-3]) == 7):
    print("Yes")
elif F >= 10 and (int(N[-1]) == 7 or int(N[-2])==7):
    print("Yes")
elif F >= 0 and (int(N[-1]) == 7):
    print("Yes")
else:
    print("No")

Solution (Python):
N = input()
N1 = str(N)
output = []
for i in N1 :
    if i == "7" :
        print("Yes")
        break
    output.append(i)
if len(output) == 3 :
    print("No")

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

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

Solution (Python):
n = int(input())
n1 = n%10
n2 = ((n-n1)/10)%10
n3 = n//100

if (n1 == 7 or n2 == 7 or n3 == 7):
    print("Yes")
else:
    print("No")

Solution (Python):
import sys
n = input()
for i in n:
	if i == '7':
		print('Yes')
		sys.exit(0)
print('No')

Solution (Python):
import re

str = input()

search_result = re.search('7', str)

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

Solution (Python):
N = input()

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

Solution (Python):
N = input()

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

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

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

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

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

Solution (Python):
n = int(input())
l = [int(x) for x in list(str(n))]
if l[0]!=7 and l[1]!=7 and l[2]!=7:
  print("No")
else:
  print("Yes")

Solution (Python):
num = input()
word = list(num)

if word[0] == "7" :
    print("Yes")
elif word[1] == "7" :
    print("Yes")
elif word[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):
import sys
input = sys.stdin.readline
sys.setrecursionlimit(10**6)


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


main()

Solution (Python):
import sys

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

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

Solution (Python):
a=input()
line=list(a)
count=0
for i in range(len(line)):
    num=int(line[i])
    if num==7:
        print("Yes")
        count+=1
        break
if count==0:
    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):
import sys
import collections
input = sys.stdin.readline

N = int(input())

flag = False
for c in str(N):
	if c == '7':
		flag = True
if flag:
	print('Yes')
else:
	print('No')

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

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):
n = list(input())
c=0

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

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

Solution (Python):
N = input()

isSeven = False
for i in N:
    if int(i) == 7:
        isSeven = True

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

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

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

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

Solution (Python):
N=input()

for i in range(3):
  if N[i] in '7':
    print('Yes')
    exit()
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):
n = input()
k = 0
for i in range(len(n)):
    if int(n[i]) == 7:
        print("Yes")
        k = 1
        break
if k != 1:
    print("No")

Solution (Python):
a = int(input().count("7"))

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

Solution (Python):
N=input()

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

Solution (Python):


YES = "Yes"
NO = "No" 

S = input()

if "7" in S:
    print(YES)
else:
    print(NO)

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

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

Solution (Python):
import sys
import numpy as np

n=sys.stdin.readline()


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

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

Solution (Python):
N = input()
N = str(N)
l = []
for i in range(len(N)):
  l.append(N[i])
if '7' in l:
  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 = int(input())
N = str(N)
num = []
num = [int(x) for x in list(str(N))]
lenN = len(N)
flg = 0


for i in range(lenN):
    if num[i] == 7:
        flg = 1

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

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

Solution (Python):
N = input()
S=str(N)
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 = int(input())
if S // 100 == 7:
    print('Yes')
elif (S % 100) // 10 == 7:
    print('Yes')
elif (S % 100) % 10 == 7:
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()

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

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

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

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

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

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

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

Solution (Python):
n = int(input())
m = str(n)
l = list(m)
if l.count("7")>0:
    print("Yes")
else:
    print("No")

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

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

Solution (Python):
import sys
 
X = input()
test = list(X)
for num in test:
  tmp = int(num)
  if tmp == 7:
    print("Yes")
    sys.exit()
print("No")

Solution (Python):
def main():
    n = input()
 
    for s in n:
        if s == '7':
            print('Yes')
            return
    print('No') 
 
 
if __name__ == '__main__':
    main()

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

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

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

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

Solution (Python):
N = input()

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

else:
    print('No')

Solution (Python):
A = str(input())
i_count = 0
for i in A:
  if i == str(7):
    i_count = i_count+1

if i_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):
from math import floor,ceil,sqrt,factorial,log
from collections import Counter, deque
def S(): return input()
def I(): return int(input())
def MS(): return map(str,input().split())
def MI(): return map(int,input().split())
def LS(): return list(MS())
def LI(): return list(MI())
def LLS(): return [list(map(str, l.split() )) for l in input()]
def LLI(): return [list(map(int, l.split() )) for l in input()]
def LLSN(n: int): return [LS() for _ in range(n)]
def LLIN(n: int): return [LI() for _ in range(n)]

N = I()

while N:
    mod = N % 10
    if mod == 7:
        print("Yes")
        exit()
    N //= 10

print("No")

Solution (Python):

import sys

YES = "Yes"  
NO = "No"  


def solve(N: int):
    strN = str(N)
    for i in range(3):
        if strN[i] == "7":
            print(YES)
            return
        
    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 = str(input())
if n.count("7") >= 1:
    print("Yes")
else:
    print("No")

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

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

Solution (Python):
inp = list(input())
flag = 0

for i in range(len(inp)):
    if int(inp[i]) == 7:
        flag = 1
        break

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

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

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

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

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

if h == 7 or d ==7 or c ==7:
    print("Yes")
else:
    print("No")

Solution (Python):
S = input()

a = 0
for i in range(len(S)):
    if S[i] == "7":
        a = 1
        break
    else:
        a = 0

if a == 1:
    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):
N = input()

if list(filter(lambda x: x=="7", N)):
    print("Yes")
else:
    print("No")

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

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

Solution (Python):
import sys

s = sys.stdin.readline()

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

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

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

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

Solution (Python):
a = input()
b=list(a)
res= 0
for i in b:
    if i == '7':
        print("Yes")
        res = res+1
        break
if res == 0:
    print("No")

Solution (Python):
import numpy as np
import math


from collections import deque 
from functools import reduce
 

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

Solution (Python):
A = input()
list_num = [int(a) for a in A]
result = False
for l in list_num:
    if l == 7:
        result = True
if result:
    print("Yes")
else:
    print("No")

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

Solution (Python):
a=input()
cnt=0
for i in a:
  if i=="7":
    cnt+=1
    break
print(["No","Yes"][cnt])

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

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

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

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

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

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

Solution (Python):
import sys
def getN():
    return int(input())
def getNM():
    return map(int, input().split())
def getlist():
    return list(map(int, input().split()))

def main():
    s = input().strip()
    for c in s:
        if c == "7":
            print("Yes")
            sys.exit()

    print("No")

if __name__ == "__main__":
    main()

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

A = int(input())
      
B = A // 10
C = B // 10
 
if A % 10 == 7:
  print ("Yes")
elif B % 10 == 7:
  print ("Yes")
elif C % 10 == 7:
  print ("Yes")
else:
  print ("No")

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

Solution (Python):
x = input()
j = False
for i in range(len(x)):
  if x[i] == '7':
    j = True
if j:
  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 = input()
flag = False
length = len(S)
for i in range(length):
  if S[i] == '7':
    flag = True
    break
print("Yes" if flag == True else "No")

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

luck = False
N = int(read())
while N:
    N, r = divmod(N, 10)
    if r == 7:
        luck = True

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

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

Solution (Python):
n = input()
l = [int(x) for x in list(str(n))]

hantei = 'No'
for i in range(len(l)):
    if l[i] == 7:
        hantei = 'Yes'
        break
print(hantei)

Solution (Python):
nw = str(input())
bool = "False"

for i in range(3):
    if nw[i] == str(7):
        bool = "True"

if bool == "False":
    print("No")
else:
    print("Yes")

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

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

a=input//100
b=(input-a*100)//10
c=(input-a*100-b*10)

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

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

Solution (Python):
A = list(map(int, input()))

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

else:
  print('No')

Solution (Python):
import sys

input_methods=['clipboard','file','key']
using_method=0
input_method=input_methods[using_method]

IN=lambda : map(int, input().split())
mod=1000000007



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

isTest=False

def pa(v):
	if isTest:
		print(v)
		
def input_clipboard():
	import clipboard
	input_text=clipboard.get()
	input_l=input_text.splitlines()
	for l in input_l:
		yield l

if __name__ == "__main__":
	if sys.platform =='ios':
		if input_method==input_methods[0]:
			ic=input_clipboard()
			input = lambda : ic.__next__()
		elif input_method==input_methods[1]:
			sys.stdin=open('inputFile.txt')
		else:
			pass
		isTest=True
	else:
		pass
		
			
	ret = main()
	if ret is not None:
		print(ret)

Solution (Python):
s = input()
flg = False
for i in range(3):
    if int(s[i])==7:
        flg = True

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