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



Sample input:
117


Sample output:
Yes

Submission status: Runtime Error

Solution code:
i = input()
i1=int(i/100)
i2=int((i-i1*100)/10)
i3=i-i1*100-i2*10

if (i1 == 7 or i2 == 7 or i3 == 7):
    print ('Yes')
else:
    print ('No')

Submission status: Runtime Error

Solution code:
def digit_number(str):
  for i in str:
    if i == 7:
      return "Yes"
    else:
      return "No"
print(digit_number(117))

Submission status: Runtime Error

Solution code:
n=input();
if n // 100 = 7:
    print('Yes')
elif n // 10 = 7:
    print('Yes')
elif n % 10 = 7:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

Solution code:
n = input().strip()
m = int(n)
a = int(len(m))
for i in range(a):
  if i == 7:
    print('Yes')
  else:
    print('No')

Submission status: Runtime Error

Solution code:
a = map(int,input().split())
b =0
for i in range(0,2):
  if a[i]  ==7 :
    b+=1
    
if b ==0:
  print('No')
else:
  print('Yes')

Submission status: Runtime Error

Solution code:
N=int(input())
if N>=100 and N<=999:
  if 7 in N:
    print("Yes")
  else:
    print("No")
else:
  print("No")

Submission status: Runtime Error

Solution code:
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")

Submission status: Runtime Error

Solution code:
n=int(input())
if n[1]=='7':
  print('Yes')
if n[2]=='7':
   print('Yes')
if n[3]=='7':
   print('Yes')
else:
   print('No')

Submission status: Runtime Error

Solution code:
N = int(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = input().split

if len(n) = 7:
  print("Yes")
elif len(n - 1) = 7:
  print("Yes")
elif len(n - 2) = 7:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
numbers = str(input())
ans = 0
for(i = 0;i<3;i++){
	if(numbers[i] == "7")
  		ans =1
}
if(ans == 0){
	print("No")
}else{
	print("Yes")
}

Submission status: Runtime Error

Solution code:
x = int(input())
j = False
for i in range(len(x)):
  if x[i] == 7:
    j = True
if j:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

Solution code:
N = input()

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

Submission status: Runtime Error

Solution code:
a = int(input())
if a[1] == 7 or a[2] == 7 or a[3] == 7 :
  print(Yes)
else :
  print(No)

Submission status: Runtime Error

Solution code:

def main():
    # -*- coding: utf-8 -*-
    # 整数の入力
    a = int(input())
    # スペース区切りの整数の入力
    # b, c = map(int, input().split())
    # b, c = map(int, input())

    # # 文字列の入力
    # a = input()
    # 出力
    # print("{} {}".format(a+b+c, s))

    # mul = a

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


if __name__ == '__main__':
    # main('123')
    main()

Submission status: Runtime Error

Solution code:
lucky = input()

for i in range(3)
	if int(lucky[i]) == 7 :
  		print ("Yes")
    else :
        print ("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=int(input())
if n[1]=='7':
  print('Yes')
if n[2]=='7':
   print('Yes')
if n[3]=='7':
   print('Yes')
else:
   print('No')

Submission status: Runtime Error

Solution code:
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")

Submission status: Runtime Error

Solution code:
input = raw_input()

if input[-1] == 7:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys

chars = sys.argv[1]
n = 0

for char in chars:
	if int(char) == 7:
		n = 1

	if n != 0:
		break

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

Submission status: Runtime Error

Solution code:
N = int(input())

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

Submission status: Runtime Error

Solution code:
a = [int(input()) for i in range(3)]
b = a[1]
c = a[1]
d = a[2]
if b == 7 or c == 7 or d == 7:
    print("Yes")
else:
    print("No")

Submission status: Runtime Error

Solution code:
N = str(input())
result = any(True if m== '7' else False for n in N)


if result;
	print('yes')
  
else ;
	print('no')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:

vv = list(input())

ccc = "7" in vv

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

Submission status: Runtime Error

Solution code:
n=int(input())
if n%10==7:
	print('Yes')
	exit()
else:
	n=n//10
	if n%10==7:
		print('Yes')
		exit()
	else:
		n=n//10:
		if n%10==7:
			print('Yes')
			exit()
print('No')

Submission status: Runtime Error

Solution code:
n=input()
s=int(n/100)
if s==7:
    print("Yes")
    exit()
elif n%10 == 7:
    print("Yes")
    exit()
elif n%100>=70 and n%100<80:
    print("Yes")
    exit()
else:
    print("No")

Submission status: Runtime Error

Solution code:
def qqq(n):

    a = int(n/100)
    if a == 7: 
        return "Yes" 
    
    n %= 100
    b = int(n/10)
    if b == 7:
        return "Yes"
    
    n %= 10
    if n == 7:
        return "Yes"

    return "No"

if __name__ == '__main__':
    N = int(input())
    print qqq(N)

Submission status: Runtime Error

Solution code:
a = input()
if a%10==7:
  print(True)
elif( a%100 )//10==7:
  print(True)
elif( a//100 )==7:
  print(True)
else:
  print(False)

Submission status: Runtime Error

Solution code:
n = int(input)
keta = n//10 + 1
count = 0
for i in range(0, keta):
  if n[i] == 7:
    count = count
  else:
    count = count + 1
    
if count == keta:
  print('No')
else:
  print('Yes')

Submission status: Runtime Error

Solution code:
flg = 0
for s in n:
    if s == '7':
        print(s)
        flg = 1

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

Submission status: Runtime Error

Solution code:
a = input()
if a.count(7)>=1:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

Solution code:
n=list(map(int,input())
if n[i]==7:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

Solution code:
a = input()
if a%10==7:
  print(True)
elif( a%100 )//10==7:
  print(True)
elif( a//100 )==7:
  print(True)
else:
  print(False)

Submission status: Runtime Error

Solution code:
number = int(input())
  
if 7 in number:
	print("Yes")
else:
	print("No")

Submission status: Runtime Error

Solution code:
n = str(input())

for i in range(len(n)):
  if n[i]=="7":
    print("Yes")
  if i == n-1:
    print("No")

Submission status: Runtime Error

Solution code:
data = input().split("")
res = "No"
for i in data:
  if i=="7":
    res = "Yes"
    break
print(res)

Submission status: Runtime Error

Solution code:
n = [i for i in raw_input()]
print "Yes" if "7" in n else "No"

Submission status: Runtime Error

Solution code:
A = list(int(input()))

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

Submission status: Runtime Error

Solution code:
n = input()
c=0
for x in n:
    if x=="7":
        print("Yes")
        c+=1
        break
    else:
        pass
if c=3:
    print("No")

Submission status: Runtime Error

Solution code:
n = input()
first = n // 100
second = (n % 100) // 10
third = (n % 10)

if (first == 7 || second == 7 || third == 7):
  print('YES')
else:
  print('No')

Submission status: Runtime Error

Solution code:
List = [int(input()) for i in range(n)]
if(List.index(7)) print('Yes'):
  else: print('No')

Submission status: Runtime Error

Solution code:
import sys, os, time, math
import numpy as np
import pandas as pd


print("Start")
N = list(map(str, input().split()))
# N = np.array(list(map(int, input().split())))
# print(N, K)
print(N)

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a = str(input())

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

Submission status: Runtime Error

Solution code:
import sys

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

Submission status: Runtime Error

Solution code:
x = input()
for i in range(len(x)):
  if x[i] == "7":
    return "Yes"

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s = list(map(int,input()))
for i in s:
  if i == "7":
    print("Yes")
    return
print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
a=input().count('7')
if(a>0)
{
  print('Yes')
}
else print('No')

Submission status: Runtime Error

Solution code:
i = input()
ans = 'Yes' if '7' in 1 else 'No'
print(ans)

Submission status: Runtime Error

Solution code:
N = int(input())
f = 0
a = N//100
b = (N-a*100)//10
c = N-a*100-b*10
if a == 7 or b == 7 or c == 7:
    f = 1
if f == 1:
    print(Yes)
else:
    print(No)

Submission status: Runtime Error

Solution code:
N = input()
n = 0
if N[0] =="7":
	n += 1
if N[1] == "7":
	n +=1
if N[2} == "7":
	n += 1
 
if n > 0:
	print("Yes")
else:
	print("No")

Submission status: Runtime Error

Solution code:
n = int(input())
m = list(n)

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = input()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = list(int(input()))
answer = "No"

for i in N:
  if i == 7:
    answer = "Yes"

print(answer)

Submission status: Runtime Error

Solution code:
item = input()
if 7 in item:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
n = input()

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

Submission status: Runtime Error

Solution code:
N = int(input().rstrip)
count = 0
for i in N:
  if i == 7:
    count += 1
if count > 0:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
N = str(input())

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

Submission status: Runtime Error

Solution code:
num = lits(input())
print(num)
if num[0] == "7":
  print("Yes")
elif num[1] == "7":
  print("Yes")
elif num[2] == "7":
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
is_lucky = any(i == "7" for i in input().split())
print("Yes" if is_luckey else "No")

Submission status: Runtime Error

Solution code:
N = int(input())
lA = list(str(N))
flag = 0
for _ in range(3):
  lA[i] == '7':
    flag += 1
if flag != 0:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

Solution code:
N = input()
A="No"
for i in range(len(N)):
    if N[i]="7":
        A = "Yes"
        break
        
    

print(A)

Submission status: Runtime Error

Solution code:
n = input()

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

Submission status: Runtime Error

Solution code:
s=int(input().split())
for i in s:
    if i==7:
        print("Yes")
print("No")

Submission status: Runtime Error

Solution code:
S = input()

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

print("No")

Submission status: Runtime Error

Solution code:
x = int(input())
j = False
for i in range(len(x))
  if x[i] == 7:
    j = True
if j:
  print('Yes')
else:
  print('No')

Submission status: Runtime Error

Solution code:
import sys

input = sys.stdin.readline

N = input().split()

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

Submission status: Runtime Error

Solution code:
N = input()
flag = false
for i in range(N):
  if N[i] == "7":
    flag = true
if flag: print("Yes")
else: print("No")

Submission status: Runtime Error

Solution code:
s = input()
f = False
for i in s:
    if i == '7':
        f = True
	break

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

Submission status: Runtime Error

Solution code:
n = input()

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

Submission status: Runtime Error

Solution code:
n = int(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
s=int(input())
n=str(s)
for x in n:
	if(x=='7'):
		f=True
if(f==True):
	print("Yes")
else:
	print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input)
Flag = False
for i in n:
  if i == 7:
    Flag = True
if Flag:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

Solution code:
a,b,c = input().split()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
a = sys.argv[1]
if '7' in a:
	print("Yes")
else:
	print("No")

Submission status: Runtime Error

Solution code:
lucky = input()

for i in range(3)
	if int(lucky[i]) = 7 :
  		print ("Yes")
    else :
        print ("No")

Submission status: Runtime Error

Solution code:
def main():
    N = int(input())
    NUM = list(str(N))
    for i in NUM:
        if int(i) == 7:
            print("Yes")
            exit(1)
    print("No")


main()

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = 7
if N > = 100 and N <=999:
  print (Yes)
else:
  print (No)

Submission status: Runtime Error

Solution code:
n = int(input())

for i in rang(0,2):
    if( n % 10 == 7):
        print("YES")
        break
    n /= 10
else:
    print("NO")

Submission status: Runtime Error

Solution code:
num = int(input())
list = list(num)
count = 0

for i in range(3):
  if list[i] == 7:
    print("Yes")
    break
  else:
    count += 1
    
if count == 3:
  print("No")
else:
  None

Submission status: Runtime Error

Solution code:
N = int(input())
has = False
for n in N:
	if n == 7:
		has = True
		break
	
if has:
	print("Yes")
else:
	print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = list(int(input()))
ans = "No"
for i in range(0 , len(n)):
  if n[i] = 7
  ans = "Yes"
  break
print(ans)

Submission status: Runtime Error

Solution code:
s=int(input())
a = [int(c) for c in s]
if a[0]==7 or a[1]==7 or a[2]==7:
    print('Yes')
else:
    print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = input()
judge = False
for i in range(len(n)):
  if n[i] == 7:
    judge = True
    break
if judge == True:
  return "Yes"
else:
  return "No"

Submission status: Runtime Error

Solution code:
num = input()
flag = False
for i in range(num):
  if num[i] == '7':
    flag = True
    break
if flag:
  print("Yes")
else:
  print("No")

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = input()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#JMD
#Nagendra Jha-4096

 
import sys
import math

#import fractions
#import numpy
 
###File Operations###
fileoperation=1
if(fileoperation):
    orig_stdout = sys.stdout
    orig_stdin = sys.stdin
    inputfile = open('W:/Competitive Programming/input.txt', 'r')
    outputfile = open('W:/Competitive Programming/output.txt', 'w')
    sys.stdin = inputfile
    sys.stdout = outputfile

###Defines...###
mod=1000000007
 
###FUF's...###
def nospace(l):
    ans=''.join(str(i) for i in l)
    return ans
 
 
 
##### Main ####
t=1
for tt in range(t):
    n=str(input())
    if '7' in n:
        print("Yes")
    else:
        print("No")
    #n,k,s= map(int, sys.stdin.readline().split(' '))
    #a=list(map(int,sys.stdin.readline().split(' ')))
    
    
#####File Operations#####
if(fileoperation):
    sys.stdout = orig_stdout
    sys.stdin = orig_stdin
    inputfile.close()
    outputfile.close()

Submission status: Runtime Error

Solution code:
import sys
import collections
input = sys.stdin.readline

N = int(input())

for c in str(N):
	if c == '7':
		print('Yes')
		exit(1)
print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
    DVSR = 1000000007
    def POW(x, y): return pow(x, y, DVSR)
    def INV(x, d=DVSR): return pow(x, d - 2, d)
    def DIV(x, y, d=DVSR): return (x * INV(y, d)) % d
    def LI(): return [int(x) for x in input().split()]
    def LF(): return [float(x) for x in input().split()]
    def LS(): return input().split()
    def II(): return int(input())
    
    n = II()
    n = str(n)
    if '7' in n:
        print('Yes')
    else:
        print('No')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
 = list(input())
if '7' in n:
  print('YES')
else:
  print('NO')

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#!/usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return list(map(float, input().split()))
def LI_(): return list(map(lambda x: int(x)-1, input().split()))
def II(): return int(input())
def IF(): return float(input())
def S(): return input().rstrip()
def LS(): return S().split()
def IR(n): return [II() for _ in range(n)]
def LIR(n): return [LI() for _ in range(n)]
def FR(n): return [IF() for _ in range(n)]
def LFR(n): return [LI() for _ in range(n)]
def LIR_(n): return [LI_() for _ in range(n)]
def SR(n): return [S() for _ in range(n)]
def LSR(n): return [LS() for _ in range(n)]
mod = 1000000007
inf = float("INF")

#solve
def solve():
    n = S()
    if "7" in s:
        print("Yes")
    else:
        print("No")
    return


#main
if __name__ == '__main__':
    solve()

Submission status: Runtime Error

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

#N, K, C = map(int, readline().split())  int
#S = read().rstrip().decode()  string
# N =int(read())
#print(C,A,B)

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

Submission status: Runtime Error

Solution code:
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

#N, K, C = map(int, readline().split())  int
#S = read().rstrip().decode()  string
# N =int(read())
#print(C,A,B)

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