Untitled
Anonymous
plain_text
02/05/2022 6:16 PM
352 B
48
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...