Determine whether a given point belongs to a given segment.
Six integers - the point coordinates and the coordinates of the beginning and end of the segment. All input values do not exceed 10000 by absolute value.
Print "YES", if the point belongs to the segment, and "NO" otherwise.