Advertisement
Guest User

123

a guest
Apr 20th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. a=int(input())
  2. a1=int(input())
  3. b=int(input())
  4. b1=int(input())
  5. g=0
  6. if a==b:
  7.     g=1
  8.     print("YES")
  9. else:
  10.     if a1==b1:
  11.         g=1
  12.         print("YES")
  13.     else:
  14.         print("NO")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement