Coordinate Quadrants

Problem Statement

Given coordinates of two points on a plane, determine if they lie in the same quadrant (all coordinates are non-zero).

Input

Four numbers are entered: coordinates of the first point (x1, y1) and the second point (x2, y2).

Output

Output "YES" if the points are in the same quadrant, otherwise output "NO".

Example

[{'input': '3\n3\n5\n1', 'output': 'YES'}]