Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = set(input())
- b = set(input())
- if b == a.intersection(b):
- print('YES')
- else:
- print('NO')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement