Problem:
 Score : 100 points    Problem Statement Given is a three-digit integer N . Does N contain the digit 7 ?  If so, print Yes ; otherwise, print No .      Constraints  100 \leq N \leq 999         Input Input is given from Standard Input in the following format:  N       Output If N contains the digit 7 , print Yes ; otherwise, print No .        Sample Input 1 117      Sample Output 1 Yes  117 contains 7 as its last digit.       Sample Input 2 123      Sample Output 2 No  123 does not contain the digit 7 .       Sample Input 3 777      Sample Output 3 Yes

Solution (Python):
N=input()

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

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

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

Solution (Python):
import sys

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

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

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

Solution (Python):
s=input()

for e in s:
  if e=="7":
    print("Yes")
    break
else:
  print("No")

Solution (Python):
n=input()
n=int(n)
og=n
flag=0
while(n>0):
    d=n%10
    n=n//10
    if(d==7):
        flag=flag+1
        
if(flag>0):
    print("Yes")
else:
    print("No")

Solution (Python):



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

if __name__ == '__main__':
	main()

Solution (Python):
p=list(input())
a=int(p[0])
b=int(p[1])
c=int(p[2])
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):

a = int(input())
if a % 10 == 7 or a // 10 % 10 == 7 or a // 100 % 10 == 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):
a = int(input());
while a>0:
    n = a %10;
    if n == 7:
        print("Yes");
        break;
    a = a //10;
if a == 0:
    print("No")

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

Solution (Python):

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

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

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

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

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

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

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

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

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

if n[:1] == "7" or n[1:2] == "7" or n[2:3] == "7":
    print("Yes")

else:
    print("No")

Solution (Python):
n = input()

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

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

num_100 = num / 100

num_10 = (num % 100) / 10

num_1 = (num % 10)

if int(num_100) == 7:
    print("Yes")
elif int(num_10) == 7:
    print("Yes")
elif int(num_1) == 7:
    print("Yes")
else:
    print("No")

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

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

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

Solution (Python):
N = input()

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

Solution (Python):
S = input()

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

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

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

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

n1 = n//100
n2 = (n-n1*100)//10
n3 = n%10

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

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

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

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

Solution (Python):
r=int(input())
c=0
if r>699 and r<800:
    c+=1
r=r%100
if r>69 and r<80:
    c+=1
r=r%10
if r==7:
    c+=1


if c>0:
    print("Yes")
if c==0:
    print("No")

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

Solution (Python):
if '7' in 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):
z = map(int, list(str(input())))
print('Yes' if 7 in z else 'No')

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

Solution (Python):






flg = 'No'
N = input()
for n in N:
    if n == '7':
        flg = 'Yes'
        break

print(flg)

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

Solution (Python):
import sys

stdin = sys.stdin

ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))

n = ni()
j=False
while n!=0:
    if n%10==7:
        j=True
    n=n//10
if j:
    print("Yes")
else:
    print("No")

Solution (Python):
N=int(input())
o=0
while(N!=0):
    b=N%10
    N=N//10
    if(b==7):
        o=1

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

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

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

Solution (Python):
N = input()

N_split = list(N)

for i in range (3):
    if N_split[i] == '7':
        print('Yes')
        break
    elif i == 2:
        print('No')

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

Solution (Python):
s = input()

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

Solution (Python):
n = input()

frag = 0
for i in range(3):
  s = n[i:i+1]
  if(s == "7"):
    frag = 1
  if(frag == 1):
    break
if(frag == 1):
  print("Yes")
else:
  print("No")

Solution (Python):
N = input()

include_7 = False
for s in N:
  if s == '7':
    include_7 = True
print('Yes') if include_7 else print('No')

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

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

for num in range(len(n)):
  if n[num] == '7':
    i += 1
if i > 0:
  print('Yes')
else:
  print('No')

Solution (Python):


import sys
INT_MAX = sys.maxsize
INT_MIN = -(sys.maxsize)
sys.setrecursionlimit(10**7)
mod = 1000000007


def IOE():
    sys.stdin = open("input.txt", "r")
    sys.stdout = open("output.txt", "w")


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


if __name__ == "__main__":
    try:
        IOE()
    except:
        pass
    main()

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

if __name__ == '__main__':
    main()

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

Solution (Python):
input = int(input())
list = [int(x) for x in str(input)]
count = 0
for x in list:
  if x == 7:
    count = count + 1
if count >= 1:
  print("Yes")
else:
  print("No")

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

Solution (Python):
a=int(input())
s=str(a)
l=list(s)
y="7"
if y in l:
    print("Yes")
else:
    print("No")

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

Solution (Python):
N = input()

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

Solution (Python):
n = input()
if "7" in n:
    print("Yes")
else:
    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):
N=int(input())
A=B=C=0
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):
n = input()
if '7' in n:
    print('Yes')
else:
    print('No')

Solution (Python):
N = input()
list_N = list(N)
list_N = [int(s) for s in list_N]

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

Solution (Python):
n = input()

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

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

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

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

Solution (Python):
import sys
from random import choice,randint
inp=sys.stdin.readline
out=sys.stdout.write
flsh=sys.stdout.flush
 
sys.setrecursionlimit(10**9)
inf = 10**20
eps = 1.0 / 10**10
mod = 10**9+7
dd = [(-1,0),(0,1),(1,0),(0,-1)]
ddn = [(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]
 
def MI(): return map(int, inp().strip().split())
def LI(): return list(map(int, inp().strip().split()))
def LLI(): return [list(map(int, l.split())) for l in sys.stdin.readlines().strip()]
def LI_(): return [int(x)-1 for x in inp().strip().split()]
def LF(): return [float(x) for x in inp().strip().split()]
def LS(): return inp().strip().split()
def I(): return int(inp().strip())
def F(): return float(inp().strip())
def S(): return inp().strip()
def pf(s): return out(s+'\n')
def JA(a, sep): return sep.join(map(str, a))
def JAA(a, s, t): return s.join(t.join(map(str, b)) for b in a)

def main():
    n = I()
    if '7' in str(n):
        print("Yes")
    else:
        print("No")

if __name__ == "__main__":
    main()

Solution (Python):
import bisect,sys
import math
from collections import deque

def sRaw():
    return input().rstrip("\r")


def iRaw():
    return int(input())


def ssRaw():
    return input().split()


def isRaw():
    return list(map(int, ssRaw()))

INF = 1 << 29

DIV = (10**9) + 7

def mod_inv_prime(a, mod=DIV):
    return pow(a, mod-2, mod)


def mod_inv(a, b):
    r = a
    w = b
    u = 1
    v = 0
    while w != 0:
        t = r//w
        r -= t*w
        r, w = w, r
        u -= t*v
        u, v = v, u
    return (u % b+b) % b


def CONV_TBL(max, mod=DIV):
    fac, finv, inv = [0]*max, [0]*max, [0]*max
    fac[0] = fac[1] = 1
    finv[0] = finv[1] = 1
    inv[1] = 1
    for i in range(2, max):
        fac[i] = fac[i-1]*i % mod
        inv[i] = mod - inv[mod % i] * (mod//i) % mod
        finv[i] = finv[i-1]*inv[i] % mod

    class CONV:
        def __init__(self):
            self.fac =fac
            self.finv = finv
            pass

        def ncr(self, n, k):
            if(n < k):
                return 0
            if(n < 0 or k < 0):
                return 0
            return fac[n]*(finv[k]*finv[n-k] % DIV) % DIV
        
    return CONV()



sys.setrecursionlimit(200005)


def main():
    s = sRaw()
    return "Yes" if "7" in s else "No"
if __name__ == "__main__":
    print(main())

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

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

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

Solution (Python):
n=int(input())
while n!=0:
    d=n%10
    n=n//10
    if d==7:
        print("Yes")
        break
if d!=7:
    print("No")

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

Solution (Python):
N = input()

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

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

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

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

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

Solution (Python):
N = input()
length_N = len(N)
count = 0

for i in range(length_N):
    if N[i] == '7':
        print('Yes')
        count += 1
        break
    
if count == 0:
    print('No')

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

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

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

Solution (Python):
x=input()
z="No"
for y in x:
  if y=="7":
    z="Yes"
print(z)

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

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

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

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

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

Solution (Python):
from sys import stdin
N = stdin.readline().rstrip()
if '7' in N:
  print('Yes')
else:
  print('No')

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

Solution (Python):

N = input()
Nlist = list(N)
ans = 'No'
for k in Nlist:
    if k == '7':
        ans = 'Yes'
    else:
        pass
print(ans)

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

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

Solution (Python):
def check_has_7(i):
    for n in range(len(str(i))):
        if(str(i)[n] == '7'):
            return "Yes"
    return "No"

a = int(input())
print(format(check_has_7(a)))

Solution (Python):

N = input()
print("Yes" if str(N).count("7") != 0 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):
A = input()
A_list = list(A)
A_bool = "7" in A_list
if A_bool == True:
  print("Yes")
else: 
  print("No")

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

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

Solution (Python):
def func(n):
  if "7" in n:
    return "Yes"
  else:
    return "No"

n = input()

print(func(n))

Solution (Python):
from sys import stdin

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

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

Solution (Python):
data = str(input())
if data[0] == "7":
  print("Yes")
elif data[1] == "7":
  print("Yes")
elif data[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())
a = N - 7
b = N//10 - 7
c = N//100 - 7
if a % 10 == 0 or b % 10 == 0 or c % 10 == 0:
    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):
from sys import stdin

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

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

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

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

Solution (Python):
s = input()

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

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

print('No')

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

Solution (Python):


n = int(input())

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

Solution (Python):
N = input('')
N0, N1, N2 = list(N)[0], list(N)[1], list(N)[2] 

if N0== '7' or N1=='7' or N2 == '7':
  print("Yes")
  
else:
  print("No")

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

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

Solution (Python):
yes_or_no = {
    True: "Yes",
    False: "No"
}

num = input()

print(yes_or_no["7" in num])

Solution (Python):
def check_has_7(i):
    for n in range(len(str(i))):
        if(str(i)[n] == '7'):
            return "Yes"
    return "No"

a = int(input())
print(format(check_has_7(a)))

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

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

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

Solution (Python):
a,b,c = str(input())
if a=='7':
  print('Yes')
elif b =='7':
  print('Yes')
elif c =='7':
  print('Yes')
else:
  print('No')

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

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

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

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

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

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

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

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

Solution (Python):


from sys import stdin, stderr

def main():
   S = stdin.readline()
   print('Yes' if '7' in S else 'No')

   return 0

if __name__ == '__main__': main()

Solution (Python):
N=int(input())
class Lucky:
    def __init__(self,N):
        self.N=N
        self.N_1=int(N/100)
        self.N_2=int((N - 100*self.N_1)/10)
        self.N_3=int((N-100*self.N_1-10*self.N_2))
        
    def Lucky_7(self):
        if self.N_1==7 or self.N_2==7 or self.N_3==7:
            return print("Yes")
        else:
            return print('No')

Lucky(N).Lucky_7()

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

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

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

res="No" 

for i in range(3):

  if n%10==7:

    res="Yes"

  n//=10

print (res)

Solution (Python):
n=input()
if "7" in n :
    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())
A=N//100
M=N%100
 
B=M//10
C=M%10
 
if 7 in [A,B,C]:
    print('Yes')
else:
    print('No')

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

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

Solution (Python):
from sys import stdin, stdout
rl = lambda: stdin.readline()
rll = lambda: stdin.readline().split()

def main():
	N = int(rl())
	ans = 0
	while N:
		N, dig = divmod(N, 10)
		if dig == 7:
			ans = 1
			break
	if ans:
		stdout.write("Yes");stdout.write("\n")
	else:
		stdout.write("No");stdout.write("\n")
	stdout.close()

if __name__ == "__main__":
	main()

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

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

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

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

Solution (Python):
N = input()

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

Solution (Python):
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):
a, b, c = map(int,(input()))

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

else:
    print("No")

Solution (Python):
s = str(input())
print("Yes" if '7' in s 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):
n = input()
found = False
for c in n:
  if c == '7':
    found = True
    print("Yes")
    break
if not found:
  print("No")

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

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

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

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

Solution (Python):



N = input()

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

Solution (Python):
N = input()

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

else:
    print("No")

Solution (Python):
N = input()

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 n.count('7') >= 1:
    print('Yes')
else:
    print('No')

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

Solution (Python):
N = str(input())
flag = False
for i in range(3):
    if N[i] == "7":
        flag = True
    
if flag:    
    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()

M = str(N)

L = list(map(int, M))

if L[0] == 7:
    print("Yes")
    
elif L[1] == 7:
    print("Yes")

elif L[2] == 7:
    print("Yes")

else:
    print("No")

Solution (Python):

n = input()
for i in n:
    if i == '7':
        print("Yes")
        quit()
print("No")

Solution (Python):
N=int(input())
class Lucky:
    def __init__(self,N):
        self.N=N
        self.N_1=int(N/100)
        self.N_2=int((N - 100*self.N_1)/10)
        self.N_3=int((N-100*self.N_1-10*self.N_2))
        
    def Lucky_7(self):
        if self.N_1==7 or self.N_2==7 or self.N_3==7:
            return print("Yes")
        else:
            return print('No')

Lucky(N).Lucky_7()

Solution (Python):
N=int(input())
N_1=int(N/100)
N_2=int((N - 100*N_1)/10)
N_3=int((N-100*N_1-10*N_2))
        

if N_1==7 or N_2==7 or N_3==7:
    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 = int(input())

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

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

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

Solution (Python):
def main():
    N = input()
    for i in N:
        if int(i) == 7:
            print("Yes")
            quit(0)
    print("No")

if __name__ == "__main__":
    main()

Solution (Python):
from sys import stdin


if __name__ == "__main__":
    _in = [_.rstrip() for _ in stdin.readlines()]
    N = _in[0] 
    
    TF = 'Yes' if '7' in N else 'No'
    
    print(TF)

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

b = 0

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

Solution (Python):
from sys import stdin


def out_ctrl(s):
    print(s)

def main(N_tolist):
    for n in N_tolist:
        if n == '7':
            return 'Yes'
    else:
        return 'No'


if __name__ == "__main__":
    _in = [_.rstrip() for _ in stdin.readlines()]
    N = _in[0] 
    
    N_tolist = list(N)
    TF = main(N_tolist)
    
    print(TF)

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

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

main()

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

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

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




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

Solution (Python):
import math
from functools import reduce
from collections import deque
import sys
sys.setrecursionlimit(10**7)


def get_nums_l():
    return [ int(s) for s in input().split(" ")]


def get_nums_n(n):
    return [ int(input()) for _ in range(n)]


def get_all_int():
    return map(int, open(0).read().split())

def log(*args):
    print("DEBUG:", *args, file=sys.stderr)

s = input()

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

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

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

Solution (Python):


s=input()

flag='No'
for i in s:
    if i=='7':
        flag='Yes'
        break
print(flag)

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

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

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

Solution (Python):
s = input()

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

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

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

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


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

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

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

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

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

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

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

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

if re.findall('[7]', n):
  print("Yes")
else:
  print("No")

Solution (Python):
input_string = input()
yes = 0
for n in input_string:
  if n == '7':
    print('Yes')
    yes = 1
    break
if not yes:
  print('No')

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

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

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

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

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

Solution (Python):
import math

n = input()

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

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

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

Solution (Python):
a = input()

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

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

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

Solution (Python):
print('No') if input().find('7') == -1 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):
a = input()
flag = False

for i in a:
    if i == "7":
        print("Yes")
        flag = True
        break

if not flag:
    print("No")

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

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

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

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

Solution (Python):

n = input()

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

Solution (Python):
N = input()

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

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

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

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

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

Solution (Python):
n=input()

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

Solution (Python):
N = int(input())
n3 = N//100
n2 = (N - n3*100)//10
n1 = N - n3*100 - n2*10
if (n3 == 7) or (n2 == 7) or (n1 == 7):
  print('Yes')
else:
  print('No')

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

Solution (Python):
s = input()

n = 0

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

if n == 0:
    print('No')
else:
    print("Yes")

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

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

Solution (Python):
n = input()
c = 0
for letter in n:
    if letter == '7':
        c += 1
pass 

print('Yes') if c > 0 else print('No')

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