mfgnik

Untitled

May 4th, 2020
856
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.24 KB | None | 0 0
  1. first_x = int(input())
  2. first_y = int(input())
  3. second_x = int(input())
  4. second_y = int(input())
  5. first = (first_x % 2) == (first_y % 2)
  6. second = (second_x % 2) == (second_y % 2)
  7. if first == second:
  8.     print('YES')
  9. else:
  10.     print('NO')
Advertisement
Add Comment
Please, Sign In to add comment