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

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

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

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

ans = False
for _ in range(3):
    s = N % 10
    
    if s == 7:
        ans = True
    N //= 10

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

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

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

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

Solution (Python):
s = input()

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

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

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

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

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

Solution (Python):

n = list(input())

ans = 0
for i in range(len(n)):
    if n[i]=="7":
        ans = 1


if ans==0:
    print("No")
else:
    print("Yes")
"""
n = int(input())
ans = k*(k+1)//2
"""

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

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

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

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

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

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

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

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

Solution (Python):
n = set(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):
import sys
IS = lambda: sys.stdin.readline().rstrip()
II = lambda: int(IS())
MII = lambda: list(map(int, IS().split()))

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

if __name__ == '__main__':
    main()

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

Solution (Python):
import sys


def solve():
    readline = sys.stdin.buffer.readline
    mod = 10 ** 9 + 7
    n = str(readline().rstrip().decode('utf-8'))
    print("Yes" if n.count("7") else "No")


if __name__ == '__main__':
    solve()

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

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

Solution (Python):
import sys
sys.setrecursionlimit(2147483647)
INF=float("inf")
MOD=10**9+7 
input=lambda:sys.stdin.readline().rstrip()
def resolve():
    print("Yes" if input().count('7') else "No")
resolve()

Solution (Python):
s = input()

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

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

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

Solution (Python):
s = input()
if '7' in list(s):
	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 = list(input())

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

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

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

print('No')

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

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

Solution (Python):


N=input()



def pront(*n):
    if debug==1:
        print(n)
        
debug=1



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

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

Solution (Python):
import sys
IS = lambda: sys.stdin.readline().rstrip()
II = lambda: int(IS())
MII = lambda: list(map(int, IS().split()))

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

if __name__ == '__main__':
    main()

Solution (Python):
n= input()

cont=0

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

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

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

Solution (Python):
a=list(map(int,list(input())))
b='No'
for i in a:
  if i==7:
    b='Yes'
    break

print(b)

Solution (Python):
n=input()
for i in range(3):
  if n[i]=="7":
    print("Yes")
    exit()
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):
def main():
    n = input()
    print('Yes') if '7' in n else print('No')

if __name__ == "__main__":
    main()

Solution (Python):



import sys
input = sys.stdin.readline

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

if __name__ == '__main__':
    main()

Solution (Python):
N = int(input())
X = N
quot_100 = X//100
X= X % 100
quot_10 = X // 10
X= X % 10
quot_1 = X

if (quot_100 == 7) or (quot_10 == 7) or (quot_1 == 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):
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(("No","Yes")["7" in input()])

Solution (Python):


def main():
    n = input()
    result = False
    for c in n:
        if c == "7":
            result = True
    print("Yes" if result else "No")

if __name__ == "__main__":
    main()

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

Solution (Python):
a = input()

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

Solution (Python):
N = str(input())
print("Yes") if (any(list(map(lambda x: True if x == "7" else False, N)))) else print("No")

Solution (Python):

if any(n == '7' for n in input()):
	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 '7' in n:
    print('Yes')
else:
    print('No')

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

Solution (Python):
N = input()

if N.count('7'):
    print('Yes')
else:
    print('No')

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

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

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

Solution (Python):
print("Yes" if input().count("7")>0 else "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):
N = input()
flag = False
for n in N:
  if int(n) == 7:
    flag = True
    break
if flag:
  print('Yes')
else:
  print('No')

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

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

if n//100 == 7 or n//10%10 == 7 or n%10 == 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 = int(input())

divisor = 100
N_temp = N

there_is_seven = False
while divisor != 0.1:
    if N_temp // divisor == 7:
        there_is_seven = True
    N_temp %= divisor
    divisor /= 10

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

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

Solution (Python):
a = input()
a = a.split('7')
if(len(a)>=2):
  print("Yes")
else:
  print("No")

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

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

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

string = str(N)

ans = False

for s in string:
    if s == '7':
        ans = True

print('Yes' if ans is True else 'No')

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

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

Solution (Python):

def main():
    N = input().rstrip()
    print("Yes" if "7" in N else "No")


if __name__ == "__main__":
    main()

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

Solution (Python):
def contains(s):
	if '7' in s:
		return 'Yes'
	else:
		return 'No'

n = input()
print(contains(n))

Solution (Python):
a = input()
q = False
for s in a:
    if s == '7':
        print('Yes')
        q  = True
        break
if q == False:
    print('No')

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

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

Solution (Python):
n=input()
for c in n:
  if c=='7':
    print('Yes')
    break
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):
print(["No","Yes"]["7" in input()])

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

Solution (Python):
s = [int(x) for x in list(input().strip())]
if 7 in s:
  print("Yes")
else:
  print("No")

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

Solution (Python):
x = input()

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

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

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

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

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

bool_ = 0
while N > 0:
    if N % 10 == 7:
        print('Yes')
        bool_ = 1
        break
    N //= 10

if bool_ != 1:
    print('No')

Solution (Python):
n=int(input())
if str(n).count('7')>0:
  print('Yes')
else:
  print('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 = int(input())
M = (N - N % 10) / 10
O = (M - M % 10) / 10

if N % 10 == 7:
    print("Yes")
elif M % 10 == 7:
    print("Yes")
elif O % 10 == 7:
    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.count("7") >= 1:
    print("Yes")
else:
    print("No")

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

Solution (Python):
print("YNeos"[1-("7"in input())::2])

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

Solution (Python):
b="YNeos";a=input();print(b["7"not in a::2])

Solution (Python):
b="YNeos"
a=input();print(b["7"not in a::2])

Solution (Python):
s = int(input())
t = int(s % 10)
u = int(s / 10)
while True:
    if t == 7:
        print("Yes")
        break
    elif u == 0:
        print("No")
        break
    t = int(u % 10)
    u = int(u / 10)

Solution (Python):
N = list(input())
def yn(p):
    if p:
        return "Yes"
    else:
        return "No"
print(yn("7" in N))

Solution (Python):
print("YNeos"[1-("7" in input())::2])

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

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


mainFunc()

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

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

Solution (Python):
N = input().split('7')

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

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):
if input().count('7')!=0:
    print("Yes")
else:
    print("No")

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

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

Solution (Python):


from math import *

N= int(input())

a = floor(N/100)
b=floor((N-a*100)/10)
c=N%10

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

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

Solution (Python):
s = input() 
l = [int(x) for x in s]

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

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

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

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

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

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

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

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

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

Solution (Python):
import sys
A = 1
N = str(input())
for i in N:
  if int(i) == 7:
    print("Yes")
    exit()
  else:
    A = 0
    
if A == 0:
  print("No")

Solution (Python):
n = input()

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

Solution (Python):
n=input()

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

Solution (Python):

import sys
import math
from bisect import bisect_left
from bisect import bisect_right
import collections
import copy
import heapq
from collections import defaultdict
from heapq import heappop, heappush
import itertools
input = sys.stdin.readline
from collections import defaultdict
from heapq import heappop, heappush

from decimal import *

























def inputInt(): return int(input())
def inputMap(): return map(int, input().split())
def inputList(): return list(map(int, input().split()))

inf = float('inf')
mod = 1000000007




def main():
	N = inputInt()
	s = str(N)

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

	








class Graph(object):
    """
    隣接リストによる有向グラフ
    """

    def __init__(self):
        self.graph = defaultdict(list)

    def __len__(self):
        return len(self.graph)

    def add_edge(self, src, dst, weight=1):
        self.graph[src].append((dst, weight))

    def get_nodes(self):
        return self.graph.keys()


class Dijkstra(object):
    """
    ダイクストラ法（二分ヒープ）による最短経路探索
    計算量: O((E+V)logV)
    """

    def __init__(self, graph, start):
        self.g = graph.graph

        
        
        self.dist = defaultdict(lambda: float('inf'))
        self.dist[start] = 0

        
        self.prev = defaultdict(lambda: None)

        
        self.Q = []
        heappush(self.Q, (self.dist[start], start))

        while self.Q:
            
            dist_u, u = heappop(self.Q)
            if self.dist[u] < dist_u:
                continue
            for v, weight in self.g[u]:
                alt = dist_u + weight
                if self.dist[v] > alt:
                    self.dist[v] = alt
                    self.prev[v] = u
                    heappush(self.Q, (alt, v))

    def shortest_distance(self, goal):
        """
        startノードからgoalノードまでの最短距離
        """
        return self.dist[goal]

    def shortest_path(self, goal):
        """
        startノードからgoalノードまでの最短経路
        """
        path = []
        node = goal
        while node is not None:
            path.append(node)
            node = self.prev[node]
        return path[::-1]

def int_sqrt2(n):
    def f(prev):
        while True:
            m = (prev + n / prev) / 2
            if m >= prev:
                return prev
            prev = m

    return f(int(math.sqrt(n) * (1 + 1e-10)))



def combination(n, r, mod=10**9+7):
    r = min(r, n-r)
    res = 1
    for i in range(r):
        res = res * (n - i) * modinv(i+1, mod) % mod
    return res


def modinv(a, mod=10**9+7):
    return pow(a, mod-2, mod)

def egcd(a, b):
    if a == 0:
        return b, 0, 1
    else:
        g, y, x = egcd(b % a, a)
        return g, x - (b // a) * y, y



def H(n, r, mod=10**9+7):
	
	
    return combination(n+r-1, r, mod)

class Combination:
    """
    O(n)の前計算を1回行うことで，O(1)でnCr mod mを求められる
    n_max = 10**6のとき前処理は約950ms (PyPyなら約340ms, 10**7で約1800ms)
    使用例：
    comb = Combination(1000000)
    print(comb(5, 3))  
    """
    def __init__(self, n_max, mod=10**9+7):
        self.mod = mod
        self.modinv = self.make_modinv_list(n_max)
        self.fac, self.facinv = self.make_factorial_list(n_max)

    def __call__(self, n, r):
        return self.fac[n] * self.facinv[r] % self.mod * self.facinv[n-r] % self.mod

    def make_factorial_list(self, n):
        
        
        fac = [1]
        facinv = [1]
        for i in range(1, n+1):
            fac.append(fac[i-1] * i % self.mod)
            facinv.append(facinv[i-1] * self.modinv[i] % self.mod)
        return fac, facinv

    def make_modinv_list(self, n):
        
        modinv = [0] * (n+1)
        modinv[1] = 1
        for i in range(2, n+1):
            modinv[i] = self.mod - self.mod//i * modinv[self.mod%i] % self.mod
        return modinv

if __name__ == "__main__":
	main()

Solution (Python):
def main():
    N = int(input())
    while N:
        N, r = divmod(N, 10)
        if r == 7:
            print('Yes')
            return
    print('No')


if __name__ == '__main__':
    main()

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()
f=0
for i in n:
  if i=='7':
    f=1
    
if f:
  print("Yes")
else:
  print("No")

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

Solution (Python):
if "7" in input():
    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):
print("YNeos"['7' not in input()::2])

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

Solution (Python):

import math

N = int(input())


while N!=0:
    ketasu = int(math.log10(N)//1 + 1)
    top_keta = N // 10**(ketasu-1)
    
    if top_keta == 7:
        print("Yes")
        break
    N = N - top_keta*10**(ketasu-1)
else:
    print("No")

Solution (Python):
N = int(input())
 
if  N > 999 or N < 100:
    print("error")
 
elif str(N)[-1] == '7':
  print("Yes")
elif str(N)[-2] == '7':
  print("Yes")
elif str(N)[-3] == '7':
  print('Yes')
else:
  print('No')

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


if __name__ == "__main__":
    main()

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()
ans = "No"
for c in n:
    if c == "7":
        ans = "Yes"
print(ans)

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

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

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

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

Solution (Python):
a = [0, 0, 0]
num = int(input())
a[0] = num // 100
a[1] = num % 100 // 10
a[2] = num % 100 % 10
if ((a[0] == 7) or (a[1] == 7) or (a[2] == 7)):
  print('Yes')
else:
  print('No')

Solution (Python):

N = int(input())

while N!=0:
    last_keta = N - ((N//10) * 10)
    if last_keta == 7:
        print("Yes")
        break
    N = N//10
else:
    print("No")

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

if N.count('7')>0:
  print('Yes')
else:
  print('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):
A = input()

if '7' in A:
    ans = 'Yes'
else:
    ans = 'No'
    
print(ans)

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

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

Solution (Python):
k=1
for i in input():
 if i=='7':k=0
print('YNeos'[k::2])

Solution (Python):
n, = map(int, open(0).read().split())
a = int(n / 100)
b = int((n % 100) / 10)
c = int((n % 100) % 10)

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

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

ans = "No"
for s in S:
  if s =="7":
    ans = "Yes"

print(ans)

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

Solution (Python):
import sys

input = sys.stdin.readline

N = input().strip()

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

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

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):
inputStr = input()

out = 'No'
for c in inputStr:
    if c == '7':
        out = 'Yes'

print(out)

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())
 
n = list(str(n))
 
flag = 0
 
for i in n:
    if i == str(7):
        flag = 1
 
print("Yes" if flag == 1 else "No")

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

Solution (Python):



N=input()

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

Solution (Python):


n = int(input())

n = list(str(n))

flag = 0

for i in n:
    if i == str(7):
        flag = 1

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

Solution (Python):
import sys
sys.setrecursionlimit(300000)

def I(): return int(sys.stdin.readline())
def MI(): return map(int, sys.stdin.readline().split())
def LMI(): return list(map(int, sys.stdin.readline().split()))
MOD = 10 ** 9 + 7
INF = float('inf')


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

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

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

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

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

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


n = int(input())

if n // 100 == 7:
    print('Yes')
    exit()

else :
    a = n // 100

    n_2 = n - a * 100

    if n_2 // 10 == 7:
        print('Yes')
        exit()

    else :
        b = n_2 // 10

        n_3 = n_2 - b * 10

        if n_3 == 7:
            print('Yes')
            exit()
    
print('No')

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

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

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

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

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

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

Solution (Python):
N = input()

result = False

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

print("Yes" if result else "No")

Solution (Python):

x = input()

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

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

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

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

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

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

Solution (Python):

data = input()

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

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

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

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

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

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

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

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

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

Solution (Python):
n = int(input())
flag = 0
for i in range(3):
  t = n%10
  if t == 7:
    print("Yes")
    flag = 1
    break
  n = int(n/10)
if flag == 0:
  print("No")

Solution (Python):
n = input()
N = str(n)
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):
a = int(input())
nums = [int(d) for d in str(a)]
if nums[0] == 7:
  print("Yes")
elif nums[1] ==7:
  print("Yes")
elif nums[2]==7:
  print("Yes")
else:
  print("No")

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

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

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

Solution (Python):
n = int(input())
flag = False
while n>0:
    rem  = n%10
    if rem == 7:
        print ("Yes")
        flag = True
        break
    n = n//10
if flag == False:
    print("No")

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

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

Solution (Python):
N = input()

for i in N:
    if i == '7':
        ans = 0
        break
    else:
        ans = 1

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

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

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

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

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

A = N//100
B = (N-A*100)//10
C = N-A*100-B*10

if ( A == 7 ):
        print("Yes")
elif ( B == 7 ):
        print("Yes")
elif ( C == 7):
        print("Yes")
else:
        print("No")

Solution (Python):
a,b,c= input().strip()


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

Solution (Python):


def input1():
	return int(input())


def input2():
	return map(int,input().split())


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




n=str(input1())

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

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

A = N // 100
B = (N-A*100)//10 
C = N % 10


if A==7 or B==7 or C==7:
    print('Yes')
else:
    print('No')

Solution (Python):
n=tuple(map(int, input().split()))
n=str(n)
c=n.count("7")
if(c>0):
    print("Yes")
else:
    print("No")