Find the distance from a given point to a given ray.
Six integers not exceeding in absolute value are given: the coordinates of the point and the coordinates of the beginning and end of the vector.
Output a single number — the distance from the point to the ray defined by the vector, with a precision of 10^{-6}.
Example 1