Untitled
unknown
plain_text
4 years ago
264 B
37
Indexable
N = int(input())
if not(99 < N < 1000):
print("NO")
else:
m = int(input())
if not(0 <= m <= 9):
print("NO")
else:
Nstr = [int(x) for x in str(N)]
if m in Nstr:
print("YES")
else:
print("NO")Editor is loading...