Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- N = int(input())
- if (N%10==5) or (N//10==5):
- print ("YES")
- else:
- print ("NO")
- q= int(input())
- if (N%10==q) or (N//10==q):
- print ("YeeeES")
- else:
- print ("No")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement