Given a standard chessboard, we would like to know if two coordinates have the same color.
The input first lists the first coordinates -
x1
and y1
, and then lists the second coordinates - x2
and y2
. Print Yes
if they have the same color, and No
otherwise.Input | Output |
1
2
5
2 | Yes |
