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

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


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



if __name__ == '__main__':
    solve()

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

Solution (Python):
from sys import stdin 
n = stdin.readline().rstrip()
if n[0] == '7' or n[1] == '7' or n[2] == '7':
    print('Yes')
else:
    print('No')

Solution (Python):

import sys

YES = "Yes"  
NO = "No"  


def solve(N: int):
    if N % 10 == 7 or (N // 10) % 10 == 7 or (N // 100) == 7:
        print(YES)
    else:
        print(NO)
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  
    solve(N)

if __name__ == '__main__':
    main()

Solution (Python):
n = input()

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

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

Solution (Python):

s = input()

for c in s:
    if c == "7":
        print("Yes")
        exit(0)
    else:
        pass

print("No")

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

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

if a[0] == "7":
    print("Yes")
    exit()

if a[1] == "7":
    print("Yes")
    exit()

if a[2] == "7":
    print("Yes")
    exit()

print("No")

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

Solution (Python):
N = input()

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

Solution (Python):
import sys

N = sys.stdin.readline().strip()
flag = False
for n_i in N:
    if n_i == "7":
        flag = True
        break

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

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

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

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

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

Solution (Python):
import sys
input = lambda: sys.stdin.readline().rstrip() 

def resolve():
    N = input()

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

if __name__ == '__main__':
    resolve()

Solution (Python):
n = str(input())
l = list()
for s in n:
    l.append(s)

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

Solution (Python):
N = input()

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

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

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

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


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



if __name__ == '__main__':
    main()

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

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

ans = "No"

for num in n:
    if num == 7:
        ans = "Yes"

print(ans)

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

Solution (Python):
n=input()
cnt=0
for i in range(len(n)):
    if n[i]=="7":
        cnt +=1

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

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

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

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

def main():
    s=int(input())
    ans=0
    if s%10==7:
        ans=1
    if (s//10)%10==7:
        ans=1
    if s//100==7:
        ans=1
    if ans:
        print("Yes")
    else:
        print("No")

main()

Solution (Python):
N = input()
flag=0
for i in N:
    if i=="7":
        flag=1

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

Solution (Python):


from collections import defaultdict

con = 10 ** 9 + 7

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


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



if __name__ == '__main__':
	main()

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

def s_in():
    return input()

def n_in():
    return int(input())

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

def print_l(l):
    print(' '.join(map(str, l)))

class Interval():
    def __init__(self, li):
        self.li = li
        self.n = len(li)
        self.sum_li = [li[0]]
        for i in range(1, self.n):
            self.sum_li.append(self.sum_li[i-1] + li[i])

    def sum(self, a, b=None):
        if b is None:
            return self.sum(0, a)

        res = self.sum_li[min(self.n-1, b-1)]
        if a > 0:
            res -= self.sum_li[a-1]
        return res

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

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

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


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

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

Solution (Python):
import sys

N = input()

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

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())
a = n // 100
n = n - a * 100
b = n // 10
c = n - b * 10
if a == 7 or b == 7 or c == 7:
    print("Yes")
else:
    print("No")

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

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

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

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

Solution (Python):
def calc(N):
    if N // 100 == 7 or (N // 10) % 10 == 7 or N % 10 == 7:
        return 'Yes'
    else:
        return 'No'


N = int(input())
print(calc(N))

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

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







N = int(input())








a = N // 100
N = N - a * 100
b = N // 10
N = N - b * 10
if a == 7 or b == 7 or N == 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):
if('7' in input()):
   print('Yes')
else:
   print('No')

Solution (Python):
n = input()

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

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

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

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

for n_i in n:
  if n_i == '7':
    ans = 'Yes'
    
print(ans)

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

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

temp = str(N)

if temp.count("7"):
        print("Yes")
else:
        print("No")

Solution (Python):
N = input()

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

Solution (Python):
N=int(input())
a=N%10
b=((N-a)//10)%10
c=N//100
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()
ans = 'Yes' if '7' in n else 'No'
print(ans)

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

if "7" in s:
    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):
def mapint_inp():
    return map(int, input().split())

def intinp():
    return int(input())

N = int(input())

ans = 0
for d in str(N):
    if d == "7":
        ans += 1

if ans != 0:
    print("Yes")
else:
    print("No")

Solution (Python):
n = input()
l = []
for i in range(3):
  l.append(n[i])
print("Yes"*("7" in l)+"No"*(1-("7" in l)))

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_str=set(str(N))
if "7" in N_str :
    print("Yes")
else:
    print("No")

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


ans = "No"

for i in range(3):
  if n[i] == '7':
    ans = 'Yes'

print(ans)

Solution (Python):
string = str(input())
key = 0
for i in range(3):
    if(string[i] == '7'):
        key = 1
if(key == 0):
    print('No')
else:
    print('Yes')

Solution (Python):
s = input()
flag = 0

for ss in s:
    if(ss == "7"):
        flag = 1

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

Solution (Python):
import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians

from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from functools import reduce
from bisect import bisect_left, insort_left
from heapq import heapify, heappush, heappop

INPUT = lambda: sys.stdin.readline().rstrip()
INT = lambda: int(INPUT())
MAP = lambda: map(int, INPUT().split())
S_MAP = lambda: map(str, INPUT().split())
LIST = lambda: list(map(int, INPUT().split()))
S_LIST = lambda: list(map(str, INPUT().split()))

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


def main():
    N = INPUT()

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


if __name__ == '__main__':
    main()

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

Solution (Python):
from sys import stdin

def main():

    n = stdin.readline().rstrip()
    flag = bool()

    for st in n:
        if st == '7':
            flag = True

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



if __name__ == "__main__":
    main()

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


main()

Solution (Python):
def Int():
    return int(input())
def Ints():
    return map(int,input().split())
def IntList():
    return list(Ints())
def IntMat(N):
    return [IntList() for i in range(N)]

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

Solution (Python):
N = input()
a = list(N)
for i in range(len(a)):
    a[i] = int(a[i])
p = 1
for i in range(len(a)):
    if a[i] == 7:
        p = p*0
if p == 0:
    print('Yes')
else:
    print('No')

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

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

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

if N[1] == "7" or N[0]== "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):
N1,N2,N3 = map(str,input())

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

Solution (Python):
import sys

N=input()

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

Solution (Python):

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

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

Solution (Python):


import sys

DEBUG = False

def read(t):
    return t(sys.stdin.readline().rstrip())


def read_list(t, sep = " "):
    return [t(s) for s in sys.stdin.readline().rstrip().split(sep)]


def dprint(*args, **kwargs):
    if DEBUG:
        print(*args, **kwargs)
    return


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


if __name__ == "__main__":
    main()

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

Solution (Python):
a=list(input())
if a[0]=="7" or  a[1]=="7" or a[2]=="7":
    print("Yes")
else:
    print("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 = list(input())
ans = "No"
for s in n:
    if s == "7":
        ans = "Yes"
print(ans)

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

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

Solution (Python):
n = input()
ns = [n[i] for i in range(3)]
if '7' in ns:
    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().rstrip()
if '7' in list(str(N)):
    print('Yes')
else:
    print('No')

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

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






x=read().rstrip().decode()

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

Solution (Python):
import math
import collections
import sys

input = sys.stdin.readline
def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))
def LI2(): return [int(input()) for i in range(n)]
def MXI(): return [[LI()]for i in range(n)]

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

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

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

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

Solution (Python):
from collections import defaultdict
from collections import deque
from string import ascii_uppercase
import sys, bisect, math, heapq

stdin = sys.stdin
read_int = lambda : list(map(int,stdin.readline().split()))
read_str = lambda : stdin.readline().rstrip()

S = read_str()

def solve():
    return S[0] == '7' or S[1] == '7' or S[2] == '7'

if __name__ == "__main__":
    if solve():
        print('Yes')
    else:
        print('No')

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

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

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

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

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

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

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

Solution (Python):
n = input()

flag = 0 
for i in n:
    if i == "7":
        flag = 1 

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

Solution (Python):
def main():
    n = tuple([int(t)for t in list(input())])

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

if __name__ == "__main__":
    main()

Solution (Python):









import os
import sys


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


if __name__ == "__main__":
    main()

Solution (Python):
n = input()

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

Solution (Python):
def main():

    N = input()

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

if __name__ == "__main__":
    main()

Solution (Python):
N = input()

flag = 0
for i in N:
    if i == "7":
        flag = 1
        break
if flag==1:
    print("Yes")
else:
    print("No")

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

print("No")

Solution (Python):
import sys
import re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase, digits
from bisect import bisect, bisect_left
from fractions import gcd
from heapq import heappush, heappop
from functools import reduce


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


def INT(): return int(input())


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


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


def ZIP(n): return zip(*(MAP() for _ in range(n)))


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


def main():
    n = list(input())
    li = [int(x) for x in n if int(x) == 7]
    if len(li) > 0:
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    main()

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

import sys

while N != 0:
    keta = N % 10
    if keta == 7:
        print('Yes')
        sys.exit(0)
    N //= 10
print('No')

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

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

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

print('No')

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

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

Solution (Python):
a=str(input())
ans="No"
for i in a:
    if i=="7":
        ans="Yes"
        break
print(ans)

Solution (Python):
N = input()

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

Solution (Python):

N = str(input())

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

else:
    print("No")

Solution (Python):
import sys, re
import math
 
def input(): return sys.stdin.readline().strip()
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
MOD = 10 ** 9 + 7





n = input()
ans = "No"

for x in n:
    if x == "7":
        ans = "Yes"

print(ans)

Solution (Python):
N = input()

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

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

Solution (Python):
N = input()
r = False
for n in N:
    if n == "7":
        r = True
if r:
    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 = input()

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

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

Solution (Python):


n = int(input())
result = "7" in str(n)
print("{}".format("Yes" if result else "No"))

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

Solution (Python):
n=input()
c=0
for i in range(3):
    if int(n[i])==7:
        c+=1
if c==0:
    print("No")
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):

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

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

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

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

Solution (Python):
a = input()


res = a.count('7')

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

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

Solution (Python):
a=input()
if int(a[0])==7 or int(a[1])==7 or int(a[2])==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):
N = str(input())

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

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

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

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

Solution (Python):
n = input()
flag = False
for i in n:
    if i == '7':
        flag = True
        break
if flag == True:
    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):
num = int(input())
if num//100 == 7 or (num%100)//10 == 7 or (num%10)==7:
    print('Yes')
else:
    print("No")

Solution (Python):

n = input()
result = False
for ni in n:
    if ni == '7':
        result = True
if result:
    print("Yes")
else:
    print("No")

Solution (Python):



def solve():
    n = input()
    for i in n:
        if i == "7":
            print("Yes")
            return
    print("No")
    return

solve()

Solution (Python):
n=list(input())
for i in n:
    if(int(i)==7):
        print('Yes')
        exit()
    else:
        continue
print('No')

Solution (Python):
if __name__ == '__main__':
    from sys import stdin
    input = stdin.readline

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

Solution (Python):
N = input()

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

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

Mod = 1000000007
import sys
sys.setrecursionlimit(100000) 
  
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):
n = input()

if "7" in n:
    ans = "Yes"
else:
    ans = "No"

print(ans)

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

Solution (Python):
def solve():

    N = input()

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


if __name__ == "__main__":
    solve()

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

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

Solution (Python):

import sys

YES = "Yes"  
NO = "No"  


def solve(N: int):
    return YES if '7' in str(N) else NO



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    N = int(next(tokens))  
    print(solve(N))

if __name__ == '__main__':
    main()

Solution (Python):



def main():
    n = input()

    ret = "No"
    if "7" in n:
        ret = "Yes"

    return ret


if __name__ == '__main__':
    print(main())

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

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

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

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

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

Solution (Python):
def resolve():
    S = input()
    for s in S:
        if int(s) == 7:
            ans = 'Yes'
            break
        else:
            ans = 'No'

    print(ans)

if __name__ == '__main__':
    resolve()

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

for c in a:
  if c == '7':
    print('Yes')
    exit()
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 sum('7'==c for c in N) > 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 = list(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):
S=input()
for n in S:
    if n == '7':
        print('Yes')
        quit()
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):



def inp():
    return(int(input().rstrip()))
def inlt():
    return(list(map(int,input().rstrip().split())))
def insr():
    s = input().rstrip()
    return(s[:len(s) - 1])
def invr():
    return(map(int,input().rstrip().split()))

n = input().strip()
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()

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

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

print(solve())

Solution (Python):
def main():
    s = input().rstrip()
    f = False
    for c in s:
        if c == "7":
            f = True
            break
    if f:
        print("Yes")
    else:
        print("No")

if __name__ == "__main__":
    main()

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

Solution (Python):
import sys
import math
def i():return int(sys.stdin.readline().replace("\n",""))
def i2():return map(int,sys.stdin.readline().replace("\n","").split())
def s():return str(sys.stdin.readline().replace("\n",""))
def l():return list(sys.stdin.readline().replace("\n",""))
def intl():return [int(k) for k in sys.stdin.readline().replace("\n","").split()]
def lx():return list(map(lambda x:int(x)*-1,sys.stdin.readline().replace("\n","").split()))
def t():return tuple(map(int,sys.stdin.readline().replace("\n","").split()))

if __name__ == "__main__":pass
m = s()
for i in range(3):
    if m[i] == "7":
        print("Yes")
        exit()
print("No")

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

Solution (Python):
def main():
    
    k = input()
    j = 0
    for i in k:
        if i == '7':
            j = j+1
    if j>0:
        print("Yes")
    else:
        print("No")


if __name__ == '__main__':
    main()

Solution (Python):


input_line = input()
N = list(input_line)

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

Solution (Python):
*N, = input()

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