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 len([d for d in N if d == '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):
def readinput():
    n=input()
    return n

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

if __name__=='__main__':
    n=readinput()
    ans=main(n)
    print(ans)

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

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

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

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

Solution (Python):
import sys
def input(): return sys.stdin.readline().rstrip()

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

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

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

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

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

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

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

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

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

print('No')

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

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

print('No')

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

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

Solution (Python):
n = input()

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

Solution (Python):
N = int(input())
if N == 107:
  print('Yes')
elif N == 117:
  print('Yes')
elif N == 127:
  print('Yes')
elif N == 137:
  print('Yes')
elif N == 147:
  print('Yes')
elif N == 157:
  print('Yes')
elif N == 167:
  print('Yes')
elif N == 170:
  print('Yes')
elif N == 171:
  print('Yes')
elif N == 172:
  print('Yes')
elif N == 173:
  print('Yes')
elif N == 174:
  print('Yes')
elif N == 175:
  print('Yes')
elif N == 176:
  print('Yes')
elif N == 177:
  print('Yes')
elif N == 178:
  print('Yes')
elif N == 179:
  print('Yes')
elif N == 187:
  print('Yes')
elif N == 197:
  print('Yes')
elif N == 207:
  print('Yes')
elif N == 217:
  print('Yes')
elif N == 227:
  print('Yes')
elif N == 237:
  print('Yes')
elif N == 247:
  print('Yes')
elif N == 257:
  print('Yes')
elif N == 267:
  print('Yes')
elif N == 270:
  print('Yes')
elif N == 271:
  print('Yes')
elif N == 272:
  print('Yes')
elif N == 273:
  print('Yes')
elif N == 274:
  print('Yes')
elif N == 275:
  print('Yes')
elif N == 276:
  print('Yes')
elif N == 277:
  print('Yes')
elif N == 278:
  print('Yes')
elif N == 279:
  print('Yes')
elif N == 287:
  print('Yes')
elif N == 297:
  print('Yes')
elif N == 307:
  print('Yes')
elif N == 317:
  print('Yes')
elif N == 327:
  print('Yes')
elif N == 337:
  print('Yes')
elif N == 347:
  print('Yes')
elif N == 357:
  print('Yes')
elif N == 367:
  print('Yes')
elif N == 370:
  print('Yes')
elif N == 371:
  print('Yes')
elif N == 372:
  print('Yes')
elif N == 373:
  print('Yes')
elif N == 374:
  print('Yes')
elif N == 375:
  print('Yes')
elif N == 376:
  print('Yes')
elif N == 377:
  print('Yes')
elif N == 378:
  print('Yes')
elif N == 379:
  print('Yes')
elif N == 387:
  print('Yes')
elif N == 397:
  print('Yes')
elif N == 407:
  print('Yes')
elif N == 417:
  print('Yes')
elif N == 427:
  print('Yes')
elif N == 437:
  print('Yes')
elif N == 447:
  print('Yes')
elif N == 457:
  print('Yes')
elif N == 467:
  print('Yes')
elif N == 470:
  print('Yes')
elif N == 471:
  print('Yes')
elif N == 472:
  print('Yes')
elif N == 473:
  print('Yes')
elif N == 474:
  print('Yes')
elif N == 475:
  print('Yes')
elif N == 476:
  print('Yes')
elif N == 477:
  print('Yes')
elif N == 478:
  print('Yes')
elif N == 479:
  print('Yes')
elif N == 487:
  print('Yes')
elif N == 497:
  print('Yes')
elif N == 507:
  print('Yes')
elif N == 517:
  print('Yes')
elif N == 527:
  print('Yes')
elif N == 537:
  print('Yes')
elif N == 547:
  print('Yes')
elif N == 557:
  print('Yes')
elif N == 567:
  print('Yes')
elif N == 570:
  print('Yes')
elif N == 571:
  print('Yes')
elif N == 572:
  print('Yes')
elif N == 573:
  print('Yes')
elif N == 574:
  print('Yes')
elif N == 575:
  print('Yes')
elif N == 576:
  print('Yes')
elif N == 577:
  print('Yes')
elif N == 578:
  print('Yes')
elif N == 579:
  print('Yes')
elif N == 587:
  print('Yes')
elif N == 597:
  print('Yes')
elif N == 607:
  print('Yes')
elif N == 617:
  print('Yes')
elif N == 627:
  print('Yes')
elif N == 637:
  print('Yes')
elif N == 647:
  print('Yes')
elif N == 657:
  print('Yes')
elif N == 667:
  print('Yes')
elif N == 670:
  print('Yes')
elif N == 671:
  print('Yes')
elif N == 672:
  print('Yes')
elif N == 673:
  print('Yes')
elif N == 674:
  print('Yes')
elif N == 675:
  print('Yes')
elif N == 676:
  print('Yes')
elif N == 677:
  print('Yes')
elif N == 678:
  print('Yes')
elif N == 679:
  print('Yes')
elif N == 687:
  print('Yes')
elif N == 697:
  print('Yes')
elif N == 700:
  print('Yes')
elif N == 701:
  print('Yes')
elif N == 702:
  print('Yes')
elif N == 703:
  print('Yes')
elif N == 704:
  print('Yes')
elif N == 705:
  print('Yes')
elif N == 706:
  print('Yes')
elif N == 707:
  print('Yes')
elif N == 708:
  print('Yes')
elif N == 709:
  print('Yes')
elif N == 710:
  print('Yes')
elif N == 711:
  print('Yes')
elif N == 712:
  print('Yes')
elif N == 713:
  print('Yes')
elif N == 714:
  print('Yes')
elif N == 715:
  print('Yes')
elif N == 716:
  print('Yes')
elif N == 717:
  print('Yes')
elif N == 718:
  print('Yes')
elif N == 719:
  print('Yes')
elif N == 720:
  print('Yes')
elif N == 721:
  print('Yes')
elif N == 722:
  print('Yes')
elif N == 723:
  print('Yes')
elif N == 724:
  print('Yes')
elif N == 725:
  print('Yes')
elif N == 726:
  print('Yes')
elif N == 727:
  print('Yes')
elif N == 728:
  print('Yes')
elif N == 729:
  print('Yes')
elif N == 730:
  print('Yes')
elif N == 731:
  print('Yes')
elif N == 732:
  print('Yes')
elif N == 733:
  print('Yes')
elif N == 734:
  print('Yes')
elif N == 735:
  print('Yes')
elif N == 736:
  print('Yes')
elif N == 737:
  print('Yes')
elif N == 738:
  print('Yes')
elif N == 739:
  print('Yes')
elif N == 740:
  print('Yes')
elif N == 741:
  print('Yes')
elif N == 742:
  print('Yes')
elif N == 743:
  print('Yes')
elif N == 744:
  print('Yes')
elif N == 745:
  print('Yes')
elif N == 746:
  print('Yes')
elif N == 747:
  print('Yes')
elif N == 748:
  print('Yes')
elif N == 749:
  print('Yes')
elif N == 750:
  print('Yes')
elif N == 751:
  print('Yes')
elif N == 752:
  print('Yes')
elif N == 753:
  print('Yes')
elif N == 754:
  print('Yes')
elif N == 755:
  print('Yes')
elif N == 756:
  print('Yes')
elif N == 757:
  print('Yes')
elif N == 758:
  print('Yes')
elif N == 759:
  print('Yes')
elif N == 760:
  print('Yes')
elif N == 761:
  print('Yes')
elif N == 762:
  print('Yes')
elif N == 763:
  print('Yes')
elif N == 764:
  print('Yes')
elif N == 765:
  print('Yes')
elif N == 766:
  print('Yes')
elif N == 767:
  print('Yes')
elif N == 768:
  print('Yes')
elif N == 769:
  print('Yes')
elif N == 770:
  print('Yes')
elif N == 771:
  print('Yes')
elif N == 772:
  print('Yes')
elif N == 773:
  print('Yes')
elif N == 774:
  print('Yes')
elif N == 775:
  print('Yes')
elif N == 776:
  print('Yes')
elif N == 777:
  print('Yes')
elif N == 778:
  print('Yes')
elif N == 779:
  print('Yes')
elif N == 780:
  print('Yes')
elif N == 781:
  print('Yes')
elif N == 782:
  print('Yes')
elif N == 783:
  print('Yes')
elif N == 784:
  print('Yes')
elif N == 785:
  print('Yes')
elif N == 786:
  print('Yes')
elif N == 787:
  print('Yes')
elif N == 788:
  print('Yes')
elif N == 789:
  print('Yes')
elif N == 790:
  print('Yes')
elif N == 791:
  print('Yes')
elif N == 792:
  print('Yes')
elif N == 793:
  print('Yes')
elif N == 794:
  print('Yes')
elif N == 795:
  print('Yes')
elif N == 796:
  print('Yes')
elif N == 797:
  print('Yes')
elif N == 798:
  print('Yes')
elif N == 799:
  print('Yes')
elif N == 807:
  print('Yes')
elif N == 817:
  print('Yes')
elif N == 827:
  print('Yes')
elif N == 837:
  print('Yes')
elif N == 847:
  print('Yes')
elif N == 857:
  print('Yes')
elif N == 867:
  print('Yes')
elif N == 870:
  print('Yes')
elif N == 871:
  print('Yes')
elif N == 872:
  print('Yes')
elif N == 873:
  print('Yes')
elif N == 874:
  print('Yes')
elif N == 875:
  print('Yes')
elif N == 876:
  print('Yes')
elif N == 877:
  print('Yes')
elif N == 878:
  print('Yes')
elif N == 879:
  print('Yes')
elif N == 887:
  print('Yes')
elif N == 897:
  print('Yes')
elif N == 907:
  print('Yes')
elif N == 917:
  print('Yes')
elif N == 927:
  print('Yes')
elif N == 937:
  print('Yes')
elif N == 947:
  print('Yes')
elif N == 957:
  print('Yes')
elif N == 967:
  print('Yes')
elif N == 970:
  print('Yes')
elif N == 971:
  print('Yes')
elif N == 972:
  print('Yes')
elif N == 973:
  print('Yes')
elif N == 974:
  print('Yes')
elif N == 975:
  print('Yes')
elif N == 976:
  print('Yes')
elif N == 977:
  print('Yes')
elif N == 978:
  print('Yes')
elif N == 979:
  print('Yes')
elif N == 987:
  print('Yes')
elif N == 997:
  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()

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

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()
is_lucky_7 = 0
for i in N:
    if i == "7":
        is_lucky_7 = True
        break
if is_lucky_7:
    print("Yes")
else:
    print("No")

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

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

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

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

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

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

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

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

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

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

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

print(ans)

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

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

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

Solution (Python):
N = input()
ans = False
for i in N:
    if i is "7":
        ans = True
        break
    else:
        pass
if ans == True:
    print("Yes")
else:
    print("No")

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

Solution (Python):

N = int(input())
A = int(N/100)
B = str(N)[1:2]
C = N%10
ans = [A,int(B),C]
print('Yes') if 7 in ans else print('No')

Solution (Python):
def main():
    n = input()

    print(["No", "Yes"]["7" in n])


if __name__ == '__main__':
    main()

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

Solution (Python):
N = input()

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

Solution (Python):
n = input()

print("Yes" if n.find('7') != -1 else "No")

Solution (Python):
n=int(input().strip())
ans= False
while(n != 0):
	rem= n % 10
	if(rem == 7):
		ans= True
		break
	n = n // 10
if(ans):
	print("Yes")
else:
	print("No")

Solution (Python):
x = str(input())
y='No'
for k in x:
    if k == '7':
        y='Yes'

print(y)

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

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

Solution (Python):
N = input()
condition = False
for i in str(N):
  if (i=='7'):
      condition = True

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

Solution (Python):
n=int(input())
while(n!=0):
    digit=n%10
    if(digit==7):
        flag=1
        break
    else:
        flag=0
    n=n//10
if(flag==1):
    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):
inter = list(input())
flag = 0
for i in range(0, len(inter)):
    if inter[i] == "7":
        flag = 1

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

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

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

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

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

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

input = sys.stdin.readline
def inar():
    return [int(el) for el in input().split()]
def main():
    n=list(input().strip())
    if "7" in n:
        print("Yes")
    else:
        print("No")

if __name__ == '__main__':
    main()

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

Solution (Python):
n = input()

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

print('No')

Solution (Python):
a=int(input())
str_a=str(a)
list_a=list(str_a)
count=0
for i in range(0,len(list_a)):
	if(list_a[i]=='7'):
		count+=1
	else:
		count+=0
	
if(count>1 or count==1):
	print('Yes')
else:
	print('No')

Solution (Python):
n = input()

print("Yes" if n.find('7') != -1 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 = str(input())

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

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

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

Solution (Python):
n = input()

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

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

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

Solution (Python):
i=input()
if i[2]=='7':
	print('Yes')
elif i[0]=='7':
	print('Yes')
elif i[1]=='7':
	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()
print('Yes' if '7' in N else 'No')

Solution (Python):
N = input()

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

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

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

for i, c in enumerate(list(N)):
  if c==str(7):
    print('Yes')
    break
  elif i==len(N)-1:
    print('No')

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


main()

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

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

Solution (Python):
N = input()

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

Solution (Python):

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

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

Solution (Python):
num = input()

ans = 0

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

if ans == 0:
    print("No")

else:
    print("Yes")

Solution (Python):

def main():
    n = input()
    if n[0] == '7':
        print("Yes")
        return
    if n[1] == '7':
        print("Yes")
        return
    if n[2] == '7':
        print("Yes")
        return
    print("No")

if __name__ == "__main__":
    main()

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

Solution (Python):
N = input()

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

Solution (Python):
import sys
import numpy as np
from math import ceil as C, floor as F, sqrt
from collections import defaultdict as D, Counter as CNT
from functools import reduce as R
import heapq as HQ

class Heap:
  def __init__(self, data, reverse=False):
    self.reverse = -1 if reverse else 1
    self.data = [self.reverse * d for d in data]
    HQ.heapify(self.data)
  def push(self, x): return HQ.heappush(self.data, self.reverse * x)
  def pop(self): return self.reverse * HQ.heappop(self.data)

ALP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
alp = 'abcdefghijklmnopqrstuvwxyz'
def _X(): return sys.stdin.readline().rstrip().split(' ')
def _S(ss): return tuple(ss) if len(ss) > 1 else ss[0]
def S(): return _S(_X())
def Ss(): return list(S())
def _I(ss): return tuple([int(s) for s in ss]) if isinstance(ss, tuple) else int(ss)
def I(): return _I(S())
def _Is(ss): return list(ss) if isinstance(ss, tuple) else [ss]
def Is(): return _Is(I())

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

Solution (Python):
import math
import sys
import os
from operator import mul

sys.setrecursionlimit(10**7)

def _S(): return sys.stdin.readline().rstrip()
def I(): return int(_S())
def LS(): return list(_S().split())
def LI(): return list(map(int,LS()))

if os.getenv("LOCAL"):
    inputFile = basename_without_ext = os.path.splitext(os.path.basename(__file__))[0]+'.txt'
    sys.stdin = open(inputFile, "r")
INF = float("inf")


N = list(_S())
ans = 'No'

for s in N:
    if s == '7':
        ans = 'Yes'
        break

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

Solution (Python):
A=list(map(int,input()))
b=0

for i in range(0,3):
    if A[i]==7:
        b+=1

if b==0:
    print("No")
else:
    print("Yes")

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

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

if __name__ == '__main__':
    main()

Solution (Python):
n = str(input())
flag = 0
for i in range(3):
  if n[i] == '7':
    flag = 1

if flag == 1:
  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()
for ni in n:
  if ni == '7':
    print('Yes')
    exit()
print('No')

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

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

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

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

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

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

while n > 0:
    mod = n % 10
    if mod == 7:
        print('Yes')
        exit(0)
    n = n // 10

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):
N =input()
for i in N:
        if i =='7':
                print('Yes')
                exit()
print('No')

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

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

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

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

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

def main():

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


main()

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

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

Solution (Python):
import math
from math import gcd,pi,sqrt
INF = float("inf")

import sys
sys.setrecursionlimit(10**6)
import itertools
from collections import Counter,deque
def i_input(): return int(input())
def i_map(): return map(int, input().split())
def i_list(): return list(i_map())
def i_row(N): return [i_input() for _ in range(N)]
def i_row_list(N): return [i_list() for _ in range(N)]
def s_input(): return input()
def s_map(): return input().split()
def s_list(): return list(s_map())
def s_row(N): return [s_input for _ in range(N)]
def s_row_str(N): return [s_list() for _ in range(N)]
def s_row_list(N): return [list(s_input()) for _ in range(N)]


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




if __name__=="__main__":
    main()

Solution (Python):
n = input()

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

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

Solution (Python):

N = list(input())
if any([int(i) ==7 for i 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):
o = ['No','Yes']
f = 0
N = input()
s = str(N)
for c in s:
    t    = int(c)
    if t == 7:
        f = 1
print(o[f])

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(map(int,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()

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

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

Solution (Python):
N = input()
if N.count("7") > 0:
    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):
n=list(input())
if n.count("7")!=0:
  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):
s=input()
if "7"  in s:
  print("Yes")
else:
  print("No")

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

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

if '__main__' == __name__:
    resolve()

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

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

Solution (Python):
N = int(input())
tmp = 0
for i in range(3):
    amari = N%10
    N //= 10
    if amari == 7:
        print('Yes')
        tmp = 1
        break
if tmp != 1:
    print('No')

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

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

Solution (Python):
int = int(input())
i=1
while i<=3:
  dev=int % 10
  if dev == 7:
    print("Yes")
    i=5
  int = int // 10
  i += 1
  if i==4:
    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 print('No')

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

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

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

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

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

Solution (Python):
N =input()

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

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

Solution (Python):
N = input()

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

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

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

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

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

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

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

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

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

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

ans='No'
for s in S:
    if s =='7':
        ans='Yes'
print(ans)

Solution (Python):
s=input()
if('7' in s):
    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
sys.setrecursionlimit(10**9)

def mi(): return map(int,input().split())
def ii(): return int(input())
def isp(): return input().split()
def deb(text): print("-------\n{}\n-------".format(text))

INF=10**20
def main():
    N=list(input())

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

    print("No")









if __name__ == "__main__":
    main()

Solution (Python):






S=input()

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

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

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

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

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

Solution (Python):
import sys

N = str(input())
for i in N:
	if i == '7':
		print('Yes')
		sys.exit()
print('No')

Solution (Python):
n = input()
flag = False

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

Solution (Python):
import sys
input = sys.stdin.readline
ins = lambda: input().rstrip()
ini = lambda: int(input().rstrip())
inm = lambda: map(int, input().split())
inl = lambda: list(map(int, input().split()))

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

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

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

Solution (Python):

N=int(input())
x=N//100
y=(N-100*x)//10
z=N-100*x-10*y
if x==7 or y==7 or z==7:
  print('Yes')
else:
  print('No')

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

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

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

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


if __name__ == '__main__':
    main()

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

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

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

Solution (Python):
N = input()

for n in N:
    if n == "7":
        print("Yes")
        break
else:
    print("No")

Solution (Python):
number = input()
count = 0
for i in number:
  if i == '7':
    count += 1
if count == 0:
  print('No')
else:
  print('Yes')

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

Solution (Python):
a = int(input())
b = a // 100
c = a // 10 - b * 10
d = a - b * 100 - c * 10
if b != 7 and c != 7 and d != 7:
  print("No")
else:
  print("Yes")