Determine whether a given point belongs to a ray.
Six integers are given: the coordinates of the point and the coordinates of the beginning and end of the vector. All numbers do not exceed by absolute value.
Print YES if the point belongs to the ray, and NO otherwise.
Example 1