Point and Segment#142

Point and Segment

1 second
64 megabytes
Very easy

Is point on the segment ?

Input

The input contains the coordinates of points , , and . Each coordinate is an integer with absolute value at most .

Output

Output if point lies on the segment , and otherwise.

Examples

Example 1

Loading
Loading