Advertisement
ForestFox

Untitled

Nov 12th, 2021
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.10 KB | None | 0 0
  1. a = set(input())
  2. b = set(input())
  3. if b == a.intersection(b):
  4. print('YES')
  5. else:
  6. print('NO')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement