Two squares of a chessboard are given. If they are colored in the same color, then output the word YES
, and if they are in different colors – then NO
.
Input data: 4 numbers are entered - the coordinates of the cells.
Output: Print the answer to the problem.
Examples
# |
Input |
Output |
1 |
1
1
2
2 |
YES |
2 |
1
1
2
3 |
NO |