Point on a ray#2133

Point on a ray

1 second
128 megabytes
Easy

Determine whether a given point belongs to a ray.

Input

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.

Output

Print YES if the point belongs to the ray, and NO otherwise.

Examples

Example 1

Loading
Loading