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):
import sys
input = sys.stdin.readline
sys.setrecursionlimit(2 * 10**6)


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


S = input().strip()

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

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

for n in ns:
  if n == "7":
    print("Yes")
    break
else:
  print("No")

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

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

Solution (Python):
n = input()

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

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

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

Solution (Python):

import re
import math
import itertools
from copy import deepcopy
import random
from heapq import heappop,heappush
import time
import os
import queue
import sys
import datetime
from functools import lru_cache
readline=sys.stdin.readline
sys.setrecursionlimit(2000)

alphabet="abcdefghijklmnopqrstuvwxyz"
mod=int(10**9+7)
inf=int(10**20)
def yn(b):
    if b:
        print("yes")
    else:
        print("no")
def Yn(b):
    if b:
        print("Yes")
    else:
        print("No")
def YN(b):
    if b:
        print("YES")
    else:
        print("NO")
class union_find():
    def __init__(self,n):
        self.n=n
        self.P=[a for a in range(N)]
        self.rank=[0]*n
 
    def find(self,x):
        if(x!=self.P[x]):self.P[x]=self.find(self.P[x])
        return self.P[x]
 
    def same(self,x,y):
        return self.find(x)==self.find(y)
 
    def link(self,x,y):
        if self.rank[x]<self.rank[y]:
            self.P[x]=y
        elif self.rank[y]<self.rank[x]:
            self.P[y]=x
        else:
            self.P[x]=y
            self.rank[y]+=1
 
    def unite(self,x,y):
        self.link(self.find(x),self.find(y))
 
    def size(self):
        S=set()
        for a in range(self.n):
            S.add(self.find(a))
        return len(S)
def is_power(a,b):
    now=b
    while now<a:
        now*=b
    if now==a:return True
    else:return False
def bin_(num,size):
    A=[0]*size
    for a in range(size):
        if (num>>(size-a-1))&1==1:
            A[a]=1
        else:
            A[a]=0
    return A
def fac_list(n,mod_=0):
    A=[1]*(n+1)
    for a in range(2,len(A)):
        A[a]=A[a-1]*a
        if(mod>0):A[a]%=mod_
    return A
def comb(n,r,mod,fac):
    if(n-r<0):return 0
    return (fac[n]*pow(fac[n-r],mod-2,mod)*pow(fac[r],mod-2,mod))%mod
def next_comb(num,size):
    x=num&(-num)
    y=num+x
    z=num&(~y)
    z//=x
    z=z>>1
    num=(y|z)
    if(num>=(1<<size)):return False
    else:
        return num
def get_primes(n,type="int"):
    A=[True]*(n+1)
    A[0]=False
    A[1]=False
    for a in range(2,n+1):
        if A[a]:
            for b in range(a*2,n+1,a):
                A[b]=False
    if(type=="bool"):return A
    B=[]
    for a in range(n+1):
        if(A[a]):B.append(a)
    return B
def is_prime(num):
    if(num<=2):return False
    i=2
    while i*i<=num:
       if(num%i==0):return False
       i+=1
    return True
def ifelse(a,b,c):
    if a:return b
    else:return  c
def join(A,c=" "):
    n=len(A)
    A=list(map(str,A))
    s=""
    for a in range(n):
        s+=A[a]
        if(a<n-1):s+=c
    return s
def factorize(n,type_="dict"):
    b = 2
    list_ = []
    while b * b <= n:
        while n % b == 0:
            n //= b
            list_.append(b)
        b+=1
    if n > 1:list_.append(n)
    if type_=="dict":
        dic={}
        for a in list_:
            if a in dic:
                dic[a]+=1
            else:
                dic[a]=1
        return dic
    elif type_=="list":
        return list_
    else:
        return None
def floor_(n,x=1):
    return x*(n//x)
def ceil_(n,x=1):
    return x*((n+x-1)//x)

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

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

Solution (Python):
if __name__ == '__main__':
    n = input()
    a = n.count("7")
    if 0 < a:
        print("Yes")
    else:
        print("No")

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

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

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

Solution (Python):
n = input()

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

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

digits = []
N_tmp = N
for i in range(10):
    digits.append(N_tmp % 10)
    N_tmp //= 10

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

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

if 1<=cnt:
  print("Yes")
else:
  print("No")

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

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

Solution (Python):
n=int(input())
ans="No"
for i in range(3):
  if n%10==7:
    ans="Yes"
  n=n//10
print(ans)

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


if __name__ == "__main__":
    main()

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

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

Solution (Python):
N = input()

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

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

flag = False

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

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

Solution (Python):

from sys import stdin
import sys
sys.setrecursionlimit(10**8)

def nextLine(): return next(stdin)
def nextStrList(): return nextLine().split()
def nextIntList(): return [int(_) for _ in nextStrList()]


def ox(s, i):
	return s[i]=="o"


def main():
	n=int(nextLine())
	if "7" in str(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 = input()

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

Solution (Python):

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

if n.__contains__('7'):
    print('Yes')
else:
    print('No')

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

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

Solution (Python):



def ri():
    return int(input())

def rl():
    return list(input().split())

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

def check(s):
    for i in range(len(s)):
        if s[i] != s[len(s)-1-i]:
            return False
    return True

def main():
    n = input()
    for c in n:
        if c == '7':
            print("Yes")
            return
    print("No")


if __name__ == '__main__':
    main()

Solution (Python):
n = input()
found = False
for digit in n:
    found = found or digit=='7'
if found:
    print("Yes")
else:
    print("No")

Solution (Python):

n = input()
print(["No", "Yes"][any(x == "7" for x in n)])

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

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

if str(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):
x=int(input())
if (x%10==7) or (x%100>=70 and x%100<80) or (x>=700 and x<800):
	print('Yes')
else:
  	print('No')

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

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

Solution (Python):


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

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

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

Solution (Python):
n = int(input())
res = "No"

for i in range(3):
    if str(n)[i] == "7":
        res = "Yes"

print(res)

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

Solution (Python):
n = str(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()
a = n.__contains__("7")

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

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

Solution (Python):
n = input()

flag = False
for s in n:
    if s == '7':
        flag = True
        break

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

Solution (Python):
N = str(input())
ans = False
for n in list(N):
    if n=='7':
        ans=True
if ans:
    print('Yes')
else:
    print('No')

Solution (Python):
s = input()

ans = False
for i in s:
    if i == '7':
        ans = True
        
print('Yes' if ans 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):
k = int(input())
k = str(k)
if k[0]=="7" or k[1]=="7" or k[2]=="7":
    print("Yes")
else:
    print("No")

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

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

s_st = str(S)
if "7" in s_st:
    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):
n = input()

l = len(n)

ans = 0

for i in range(l):
    if n[i] == '7':
        ans += 1
    else:
        pass

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

Solution (Python):
def main():
    N = int(input())
    while N:
        if N % 10 == 7:
            print("Yes")
            return
        N = N//10
    print("No")


if __name__ == "__main__":
    main()

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

Solution (Python):
n = input()

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

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

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

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

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

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

Solution (Python):
from sys import stdin
import sys





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

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

Solution (Python):
N = input()

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

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


if __name__ == '__main__':
    main()

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

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

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

Solution (Python):
import math

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

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

Solution (Python):
n = input()
ans = "No"
for i in n:
    if i == "7":

        ans = "Yes"

print(ans)

Solution (Python):

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

Solution (Python):
N = input()

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

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

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

Solution (Python):

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

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


if __name__ == '__main__':
    main()

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

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

Solution (Python):
N=input()
f = False
for i in range(len(N)):
    if N[i] =="7":
            
        f=True
        print("Yes")
        break

if not f:
    print("No")

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

N = input()

for i in range(3):
    if N[i] == '7':
        print('Yes')
        break
else:
    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 N[i] == "7":
        print("Yes")
        exit()

print("No")

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

Solution (Python):
s = input()

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

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

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

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

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

if __name__ == '__main__':
    

    n = int(input())

    n = str(n)

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

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

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

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

for a in N:
    if a == '7':
        print('Yes')
        quit()
print('No')

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

Solution (Python):
N = input()

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

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

ans = 'No'
for n in N:
    if n == '7':
        ans ='Yes'

print(ans)

Solution (Python):
s = input()

if "7" in s:
    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 n.count('7')>=1:
    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(len(n)):
  if n[i]=="7":
    ans="Yes"
print(ans)

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

Solution (Python):
def main():
    N = input()
    N = [int(s) for s in N]
    
    if 7 in N:
        print('Yes')
    else:
        print('No')
    
    

main()

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

Solution (Python):
S = input()
yes = (S.find('7') != -1)
print('Yes' if yes 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 = input()

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

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

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

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

Solution (Python):
N = input()

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

Solution (Python):
from collections import *
import sys
try: inp = raw_input
except: inp = input
def err(s):
    sys.stderr.write('{}\n'.format(s))

def ni():
    return int(inp())

def nl():
    return [int(_) for _ in inp().split()]
N = inp()
if '7' in N:
    print('Yes')
else:
    print('No')

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

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

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

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


if __name__ == "__main__":
    main()

Solution (Python):
s = input()
status = False
for c in s:
    if c == "7":
        status = True

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

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

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

if n % 10 == 7:
    ans = 'Yes'
elif (n % 100) // 10 == 7:
    ans = 'Yes'
elif n // 100 == 7:
    ans = 'Yes'
else:
    ans = 'No'

print(ans)

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

    for nn in N:
        if (nn == str(7)):
            print("Yes")
            return

    print("No")


resolve()

Solution (Python):
import sys
from math import factorial
from fractions import Fraction
import heapq, bisect, fractions
import math
import itertools
sys.setrecursionlimit(10 ** 5 + 10)
INF = 10**15 +5
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))

N = INT()
N = str(N)
for i in range(len(N)):
    if N[i] == '7':
        print('Yes')
        sys.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 n[i] == '7':
        print('Yes')
        exit()

print('No')

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

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

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

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

Solution (Python):
n = list(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):
if len([c for c in input() if c == '7']) >= 1:
    print('Yes')
else:
    print('No')

Solution (Python):

import sys

YES = "Yes"  
NO = "No"  


def solve(N: int):
    for x in str(N):
        if x =="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 = input()
print('Yes' if '7' in set(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()

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

Solution (Python):




n = input()


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


print(ans)

Solution (Python):
import sys
N = str(input())
 
for n in range(len(N)):
    if N[n] == '7':
        print('Yes')
        sys.exit()
print('No')

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

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

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


def main():
    N = input()
    ok = False
    for i in range(3):
        if N[i] == '7':
            ok = True
    if ok:
        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 = input()
flag = 0
for i in range(3):
  if(N[i] == '7'):
    flag = 1
    print('Yes')
    break
if(flag == 0):
  print('No')

Solution (Python):
s = input().rstrip()

ans = 'No'
for c in s:
    if c == '7':
        ans = 'Yes'
        break

print(ans)

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

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

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

Solution (Python):


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

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

print(ans)

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

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

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

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

Solution (Python):
import math
import sys

n=input()



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

Solution (Python):
n = input()

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

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

Solution (Python):


import sys
stdin = sys.stdin

def ns(): return stdin.readline().rstrip()
def ni(): return int(ns())
def na(): return list(map(int, stdin.readline().split()))

def main():
    s = ns()
    for si in s:
        if si == "7":
            print("Yes")
            quit()
    print("No")


if __name__ == "__main__":
    main()

Solution (Python):

n=int(input())
s=str(n)
for ss in s:
    if ss=="7":
        print("Yes")
        exit(0)
print("No")

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

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

Solution (Python):
n=input()

flag=0

for i in range(0,3):
    if(n[i]=='7'):
        flag=1

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

Solution (Python):
def main():
    s = input()
    print("Yes") if '7' in s 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):
N=input()
if N.count("7")>=1:
  print("Yes")
else:
  print("No")

Solution (Python):
s = input()
ans = "No"
for c in s:
    if c == "7":
        ans = "Yes"
print(ans)

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

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

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

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

Solution (Python):
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):
n = str(input())
cnt = 0
for i in n:
    if i == "7":
        cnt += 1
if cnt != 0:
    print("Yes")

else:
    print("No")

Solution (Python):
n = input()

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

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

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

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

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

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

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

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 n[i] == '7':
        ans = 'Yes'
print(ans)

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



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

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

Solution (Python):
import sys

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

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

Solution (Python):
S=input()

answer="No"

for s in S:
    if s=="7":
        answer="Yes"
        break

print(answer)

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

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

Solution (Python):


N = list(input())

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

Solution (Python):
import math
import string
import collections
from collections import Counter
from collections import deque
import sys
sys.setrecursionlimit(2*10**5)
INF = 2**60


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


def nCr(n, r):
    return math.factorial(n)//(math.factorial(n-r)*math.factorial(r))


def has_duplicates2(seq):
    seen = []
    for item in seq:
        if not(item in seen):
            seen.append(item)
    return len(seq) != len(seen)


def divisor(n):
    divisor = []
    for i in range(1, n+1):
        if n % i == 0:
            divisor.append(i)
    return divisor



dx = [-1, -1, -1, 0, 0, 1, 1, 1]
dy = [-1, 0, 1, -1, 1, -1, 0, 1]


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):
list = list(map(str,input()))
check = False
for i in list:
    if i=="7":
        check = True

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

Solution (Python):
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque
from decimal import *


def lcm(x, y):
    return (x * y) // math.gcd(x, y)


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

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

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

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

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

Solution (Python):
n=input()

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

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

solution()

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