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.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()
if '7' in N:
    print('Yes')
else:
    print('No')

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

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

Solution (Python):
n = int(input())
isOK = False
for i in range(3):
    first_digit_num = n % 10
    if(first_digit_num == 7):
        isOK = True
    n //= 10
print("Yes" if isOK else "No")

Solution (Python):


input_int = input()

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

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

Solution (Python):
N = input()
is_contain = False
for c in N:
        if c == "7":
                is_contain = True
                break

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

Solution (Python):


n = int(input())
m = n
ans = 'No'

for i in range(3):
    r = m % 10
    if r == 7:
        ans = 'Yes'
        break
    m = m // 10

print(ans)

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

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

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

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

Solution (Python):
N = input()
n = [int(c) for c in N]
for ni in n:
  if ni == 7:
    print("Yes")
    exit()
print("No")

Solution (Python):


import sys
import math
import collections
import itertools
from inspect import currentframe
INF = 10 ** 10
MOD = 10 ** 9 + 7
def input() : return sys.stdin.readline().strip()
def gcd(x, y) : return y if x % y == 0 else gcd(y, x % y)
def lcm(x, y) : return (x * y) // gcd(x, y)
def I() : return int(input())
def LI() : return [int(x) for x in input().split()]
def RI(N) : return [int(input()) for _ in range(N)]
def LRI(N) : return [[int(x) for x in input().split()] for _ in range(N)]

N = input()

flag = "No"

if N[0] == "7":
    flag = "Yes"
if N[1] == "7":
    flag = "Yes"
if N[2] == "7":
    flag = "Yes"

print(flag)

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

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

Solution (Python):
def main():
    line = str(input())
    print("No" if line.find("7") == -1 else "Yes")
    return


main()

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

Solution (Python):
n = input()

if n.find("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):
print("Yes" if input().count('7') else "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):
import sys
input=lambda: sys.stdin.readline().rstrip()
n=list(input())
if "7" in n:
  print("Yes")
else:
  print("No")

Solution (Python):
num = input()

for x in num:
	if x == '7':
		print ("Yes")
		exit()

print ("No")

Solution (Python):
n = input()

for i in n:
	if i == '7':
		print("Yes")
		exit()
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())
for i in range(3):
    if (N%10)==7:
        break
    N=N//10
if N!=0:
    print("Yes")
else:
    print("No")

Solution (Python):
i = str(input())
if "7" in i:
    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):
import re
num = int(input())
if re.search('7', str(num)):
    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):
input_number = int(input())

for i in range(3):
    ans = input_number % 10
    if ans == 7:
        print('Yes')
        break
    input_number = (input_number - ans) / 10
    if i == 2:
        print('No')

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

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

a = num -(num%100) 
b = (num - a)%10 
c = (num - b)%100 

a = a/100
c = c/10

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

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

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

Solution (Python):
param = input()

ret = None
if '7' in param:
    ret = 'Yes'
else:
    ret = 'No'

print(f'{ret}')

Solution (Python):
N = input()

def a(N):
	for c in N:
		if c == "7":
			return "Yes"
	return "No"
 
print(a(N))

Solution (Python):
s = input()

ans = "No"

for i in range(3):
    if s[i] == "7":
        ans = "Yes"
        break

print(ans)

Solution (Python):



inputs: list = []
while True:
    try:
        inputs.append(input().strip('\n'))
    except EOFError:
        break



input_number = str(inputs[0])
if '7' in input_number:
    print('Yes')
else:
    print('No')

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

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

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

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

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

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

def int_to_charlist(num): 
    return [s for s in str(num)]

string = int_to_charlist(a)

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

Solution (Python):
N = list(input())
b = False
for i in range(3):
    if N[i] == str(7):
        b = True
if b == False:
    print('No')
else:
    print('Yes')

Solution (Python):
a = str(input())
ans = 'Yes' if any([i=='7' for i in a]) else 'No'
print(ans)

Solution (Python):
i=int(input())
ans="No"
while i>0:
    rem=i%10
    i=int(i/10)
    if rem==7:
        ans="Yes"
print(ans)

Solution (Python):
a = str(input())
ans = 'Yes'if any([i=='7' for i in a]) else 'No'
print(ans)

Solution (Python):
N=input()
cnt=N.count('7')

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

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

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 6)


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

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

Solution (Python):
import math
from collections import defaultdict
ml=lambda:map(int,input().split())
ll=lambda:list(map(int,input().split()))
ii=lambda:int(input())
ip=lambda:input()

"""========main code==============="""

t=ip()
if '7' in t:
    print("Yes")
else:
    print("No")

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

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

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

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

Solution (Python):
n = input()

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

Solution (Python):
N=str(input())
counter=0
for x in range(3):
    if N[x]=='7':
       counter=1
if counter==1:
    print('Yes')

else:
    print('No')

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

Solution (Python):


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

Solution (Python):
Input_Data = input()

Number = [int(x) for x in list(str(Input_Data))]
Flag = 0

for i in range(3) :
	if Number[i] == 7 :
		Flag = 1
		break

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

Solution (Python):
N = input()

n1 = N[:1]
n2 = N[1:2]
n3 = N[2:3]

if (n1=='7') | (n2=='7') | (n3=='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):
N=int(input())
N1=N//100
N2=(N//10)%10
N3=N%10
if N1==7 or N2==7 or N3==7:
    print("Yes")
else:
    print("No")

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

Solution (Python):

num=int(input(""))
num3=num//100
num2=num//10%10
num1=num%10
if(num3==7 or num2==7 or num1==7):
    print("Yes")
else:
    print("No")

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

Solution (Python):
N=int(input(""))
if N % 10 == 7 or (N - N % 10) / 10 % 10 == 7 or (N - N % 100)/100 == 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):

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

Solution (Python):

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

Solution (Python):

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

Solution (Python):
x = input()
x = [int(d) for d in str(x)]

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

Solution (Python):
n = int(input())
for i in range(3):
  n_i=n//10**(2-i)
  if(n_i==7):
    print('Yes')
    break
  if(i==2):
    print('No')
  n=n-n_i*10**(2-i)

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

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

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

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

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

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

Solution (Python):
abc = str(input())
if '7' in abc:
	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%10 == 7:
    print("Yes")
elif int(s/10)%10 == 7:
    print("Yes")
elif int(int(s/10)/10)%10 == 7:
    print("Yes")
else:
    print("No")

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

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

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

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

Solution (Python):
x = input()

judge = False
for i in range(len(x)):
  if(x[i] == '7'):
    judge = True
    break
    
    
if(judge):
  print('Yes')
else:
  print('No')

Solution (Python):
number = input()

flag = False

for i in range(len(number)):
    if number[i] =="7" :
        flag = True

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

Solution (Python):
n = input()

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

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

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

Solution (Python):


N = input()

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

Solution (Python):
s = input()


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

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

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

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

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

Solution (Python):
num = str(input())
flag = False
for i in num:
    if int(i) == 7:
        flag = True
        break

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

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

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

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

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

Solution (Python):
import math

a=input()
a=int(a)
hyaku=a/100
hyaku=math.floor(hyaku)
ju=(a-hyaku*100)/10
ju=math.floor(ju)
ichi=(a-hyaku*100-ju*10)
if hyaku==7:
		print('Yes')
elif ju==7:
		print('Yes')
elif ichi==7:
		print('Yes')
else:
		print('No')

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 7)
f_inf = float('inf')
mod = 10 ** 9 + 7


def resolve():
    n = input()

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


if __name__ == '__main__':
    resolve()

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

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

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

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

for _ in range(3):
    if n % 10 == 7:
        print('Yes')
        sys.exit(0)
    n = n // 10
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):
num = input()
if "7" in num:
  print("Yes")
else:
  print("No")

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

Solution (Python):
import sys

N=list(input())

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

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

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

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

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

length = len(a) - 1 
check = 0

while(length >= 0):
  if(a[length] == "7"):
    check += 1
  length -= 1

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

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

Solution (Python):

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

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

Solution (Python):

n = int(input())
li = list(str(n))
for l in li:
    if int(l) == 7:
        print("Yes")
        exit()
print("No")

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

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

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

Solution (Python):
n=str(input())
n=list(n)
count=0
for i in range(len(n)):
  if(n[i]=="7"):
    count+=1
if(count!=0):
  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):
str1 = str(input())

for i in str1:
    if i == '7':
        print('Yes')
        exit()

print('No')

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

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

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

for i in str1:
    if i == '7':
        print('Yes')
        exit()

print('No')

Solution (Python):
N = list(map(int, input()))
num = N.count(7)
if num != 0:
  ans = "Yes"
else:
  ans = "No"
print(ans)

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

Solution (Python):
N = int(input())
a = 'No'
while N >= 1:
    
    if N % 10 == 7:
        a = 'Yes'
        break
    else:
        N = (N - N%10)/10
print(a)

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):
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.find("7") != -1:
  print("Yes")
else:
  print("No")

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

Solution (Python):


import sys


















def main():
    mod = 1000000007                  
    inf = float('inf')
    sys.setrecursionlimit(10**6)    
    def input(): return sys.stdin.readline().rstrip()
    def ii():  return int(input())
    def mi():  return map(int, input().split())
    def mi_0(): return map(lambda x: int(x)-1, input().split())
    def lmi(): return list(map(int, input().split()))
    def lmi_0(): return list(map(lambda x: int(x)-1, input().split()))
    def li():  return list(input())
    
    
    s = input()
    print('Yes') if '7' in s else print('No')

if __name__ == "__main__":
    main()

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

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

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

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

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

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

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

if (len(n)!=3):
  print("No")
  quit()
for i in n:
  i = int(i)
  if (i==7):
    isSeven = 1
if (isSeven!=0):
  print("Yes")
else:
  print("No")

Solution (Python):
N = int(input())
N = str(N)
judge = False
for i in range(len(N)):
    if N[i] == '7':
        judge = True
if judge:
    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):
s = int(input())
t=s//10
if s//100==7:
    print("Yes")
elif t%10==7:
    print("Yes")
elif s%10==7:
    print("Yes")
else:
    print('No')

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

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

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

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

Solution (Python):
a = input()

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

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

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

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

Solution (Python):
import sys

n = int(input())

if n % 10 == 7:
    print("Yes")
    sys.exit()
    
n_10 = n // 10
if n_10 % 10 == 7:
    print("Yes")
    sys.exit()

n_100 = n // 100
if n_100 % 10 == 7:
    print("Yes")
    sys.exit()

print("No")

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

Solution (Python):
n = input()
for _ in range(len(n)):
    x = int(n)%10
    n = int(n)//10
    if x ==7:
        print("Yes")
        break
else:print("No")

Solution (Python):


import sys
import math
import collections
import itertools
INF = 10 ** 13
MOD = 10 ** 9 + 7
def input() : return sys.stdin.readline().strip()
def lcm(x, y) : return (x * y) // math.gcd(x, y)
def I() : return int(input())
def LI() : return [int(x) for x in input().split()]
def RI(N) : return [int(input()) for _ in range(N)]
def LRI(N) : return [[int(x) for x in input().split()] for _ in range(N)]
def LS() : return input().split()
def RS(N) : return [input() for _ in range(N)]
def LRS(N) : return [input().split() for _ in range(N)]
def PL(L) : print(*L, sep="\n")
def YesNo(B) : print("Yes" if B else "No")
def YESNO(B) : print("YES" if B else "NO")

N = input()

YesNo("7" in N)

Solution (Python):


import sys
import math
import collections
import itertools
INF = 10 ** 13
MOD = 10 ** 9 + 7
def input() : return sys.stdin.readline().strip()
def lcm(x, y) : return (x * y) // math.gcd(x, y)
def I() : return int(input())
def LI() : return [int(x) for x in input().split()]
def RI(N) : return [int(input()) for _ in range(N)]
def LRI(N) : return [[int(x) for x in input().split()] for _ in range(N)]
def LS() : return input().split()
def RS(N) : return [input() for _ in range(N)]
def LRS(N) : return [input().split() for _ in range(N)]
def PL(L) : print(*L, sep="\n")
def YesNo(B) : print("Yes" if B else "No")
def YESNO(B) : print("YES" if B else "NO")

N = input()

YesNo("7" in N)

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

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

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

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

Solution (Python):
input_num=int(input())
jugy_num=0
slash_num=input_num
while slash_num > 1:
	parcent_num=int(slash_num%10)
	slash_num=int(slash_num/10)
	if parcent_num == 7:
		jugy_num=1
if jugy_num == 1:
	print("Yes")
else:
	print("No")

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

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

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

for i in range(3):
    tmp = n % 10
    if tmp == 7:
        print('Yes')
        break
    if i == 2:
        print('No')
    n = int(n / 10)

Solution (Python):
s = input()

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

print("No")

Solution (Python):
n = input()

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

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

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

Solution (Python):
n = input()
txt = 'No'

if '7' in n:
    txt = 'Yes'

print(txt)

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

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

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

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

if __name__== "__main__":
    main()

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

Solution (Python):
moji=list(map(str,input().split()))
if '7' in moji[0]:
    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 = input()
flag = 0

for i in range(len(N)):
    if N[i]=="7":
        flag =1

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

Solution (Python):
a = int(input())
third = a // 100
second = a // 10 - third * 10
first = a - (third *100 +second*10)
if(third == 7 or second == 7 or first == 7):
  print("Yes")
else:
  print("No")

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

if 7 in N:
  print("Yes")
else:
  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):
N = list(map(int, 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 = int(input())
digit = len(str(N))
for i in range(digit):
    if N % 10 == 7:
        print('Yes')
        exit()
    N = N // 10

print('No')

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

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

Solution (Python):
num=int(input())
flag="No"

num1=num%10
num2=(num-num1)/10%10
num3=int(num/100)

if num1==7 or num2==7 or num3==7:
    flag="Yes"
    
print(flag)

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

Solution (Python):
import itertools
from collections import deque,defaultdict,Counter
from itertools import accumulate
import bisect
from heapq import heappop,heappush,heapify
import math
from copy import deepcopy
import queue

Mod = 1000000007
  
def sieve_of_eratosthenes(n):
    if not isinstance(n,int):
        raise TypeError("n is not int")
    if n<2:
        raise ValueError("n is not effective")
    prime = [1]*(n+1)
    for i in range(2,int(math.sqrt(n))+1):
        if prime[i] == 1:
            for j in range(2*i,n+1):
                if j%i == 0:
                    prime[j] = 0
    res = []
    for i in range(2,n+1):
        if prime[i] == 1:
            res.append(i)
    return res

 
class UnionFind:
    def __init__(self,n):
        self.parent = [i for i in range(n+1)]
        self.rank = [0 for i in range(n+1)]
    
    def findroot(self,x):
        if x == self.parent[x]:
            return x
        else:
            y = self.parent[x]
            y = self.findroot(self.parent[x])
            return y
    
    def union(self,x,y):
        px = self.findroot(x)
        py = self.findroot(y)
        if px < py:
            self.parent[py] = px
        else:
            self.parent[px] = py
 
    def same_group_or_no(self,x,y):
        return self.findroot(x) == self.findroot(y)

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

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

Solution (Python):
n = input()

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

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

Solution (Python):
print('Yes') if input().count('7')>0 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):
s=input()
c=0
for i in s:
  if int(i)==7:
    print("Yes")
    c+=1
    break
if c==0:
  print("No")

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

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

Solution (Python):
N = [i for i in 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 = 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):
x = input()

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

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

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

Solution (Python):
N = input()
  
pos = N.find('7')

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

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

if strN.count("7") > 0:
    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 = int(input())

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

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

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

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

for i in range(len(N)):
    if(int(N[i]) == 7):
        flag = True

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

Solution (Python):
num = input();

if num[0] == "7" or num[1] == "7" or num[2] == "7" :
  print("Yes");
else:
  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):
st = input()
isSeven = False
for s in st:
    if s == '7':
        isSeven = True
        break
print(('No', 'Yes')[isSeven])

Solution (Python):

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