Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x1, x2, x3, x4, x5 = map(int,input().split())
- A, B, C, D, E = map(int,input().split())
- if x1 == A or x2 == B or x3 == C or x4 == D or x5 == E:
- print('N')
- else:
- print('Y')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement