Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- first_x = int(input())
- first_y = int(input())
- second_x = int(input())
- second_y = int(input())
- first = (first_x % 2) == (first_y % 2)
- second = (second_x % 2) == (second_y % 2)
- if first == second:
- print('YES')
- else:
- print('NO')
Advertisement
Add Comment
Please, Sign In to add comment