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-----
117

-----Sample Output-----
Yes

117 contains 7 as its last digit.

Difficulty: EASY

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


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


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


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


def main() -> None:
	n = input()
	print('Yes' if '7' in n else 'No')
	return

def __starting_point():
	main()
__starting_point()


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


print('No' if input().find('7') == -1 else 'Yes')


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


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


N = input()
print(['No', 'Yes']['7' in N])


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


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


n = str(input())
print('YNeos'[not '7' in n::2])


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


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


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


N = input()
print('No' if N.count('7') == 0 else 'Yes')


i = input()
print(['No', 'Yes']['7' in i])


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


print('Yes' if input().find('7') >= 0 else 'No')


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


import sys
n = input()
print('Yes' if '7' in n else 'No')


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


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


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


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


r = input()
print('Yes' if r.count('7') > 0 else 'No')


b = 'YNeos'
a = input()
print(b['7' not in a::2])


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


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


import sys
print('Yes' if '7' in next(sys.stdin) else 'No')


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


S = input()
print('YNeos'[not S.find('7') >= 0::2])


a = list(input())
b = 'Yes' if '7' in a else 'No'
print(b)


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


s = list(input())
print(['No', 'Yes']['7' in s])


n = input()
f = 0
for i in range(0, len(n)):
	if n[i] == '7':
		print('Yes')
		f = 1
		break
if f == 0:
	print('No')


print(['Yes', 'No'][int('7' not in input())])


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


s = input()
print('Yes' if s.count('7') >= 1 else 'No')


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


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


ans = ['No', 'Yes']
print(ans['7' in input()])


N = str(input())
count = 0
for i in N:
	if i == '7':
		count = count + 1
if count >= 1:
	print('Yes')
else:
	print('No')


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


print('Yes' if '7' in set([s for s in input()]) else 'No')


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


n = [i for i in input()]
print('Yes' if '7' in n else 'No')


n = map(str, input())
print('Yes' if '7' in n else 'No')


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


N = list(input())
print('YNeos'[not '7' in N::2])


n = list(input())
for i in n:
	if i == '7':
		print('Yes')
		return
print('No')


A = input()
a = 'No'
if '7' in A:
	a = 'Yes'
print(a)


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


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


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


def N():
	return int(input())

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

def NL(n):
	return [list(map(int, input().split())) for i in range(n)]
mod = pow(10, 9) + 7
import sys
import math
import collections
n = N()
if '7' in str(n):
	print('Yes')
else:
	print('No')


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


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


print({True: 'Yes', False: 'No'}['7' in input()])


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


n = list(str(input()))
print('Yes' if '7' in n else 'No')


print('YNeos'[1 - ('7' in input())::2])


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


n = input()
ans = 'No'
if '7' in n:
	ans = 'Yes'
print(ans)


n = int(input())
if str(n).find('7') < 0:
	print('No')
else:
	print('Yes')


s = input()
for i in range(len(s)):
	if '7' == s[i]:
		print('Yes')
		return
print('No')


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


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


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


print('Yes' if list(input()).__contains__('7') else 'No')


print('YNeos'[input().count('7') < 1::2])


print('7' in input() and 'Yes' or 'No')


import math, string, itertools, fractions, heapq, collections, re, array, bisect, sys, random, time, copy, bisect
import sys
sys.setrecursionlimit(10 ** 7)
inf = 10 ** 20
mod = 10 ** 9 + 7
stdin = sys.stdin
ni = lambda : int(ns())
nf = lambda : float(ns())
na = lambda : list(map(int, stdin.readline().split()))
nb = lambda : list(map(float, stdin.readline().split()))
ns = lambda : stdin.readline().rstrip()
print('Yes') if '7' in ns() else print('No')


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


S = str(input())
print(('No', 'Yes')['7' in S])


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


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


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


n = input()
f = 'No'
if '7' in n:
	f = 'Yes'
print(f)


l = list(input())
print(['No', 'Yes']['7' in l])