Famously at Cambridge, and often copied at other schools, is the tradition of the "Scholar's Lawn" -- an area of grass where Fellows of the school, or other distinguished entities, can walk, but regular students cannot.
Input begins with an integer
,
, the number of straight-line walkways. There will then follow
lines, each with
integers, denoting the
coordinates of the endpoints of each walkway. After that is a line containing three real values
,
,
, where
is the position of the student and
,
, is the student's walking speed. The point
is guaranteed to lie on one of the paved walkways. The final line contains
numbers. The first
numbers are real numbers
,
,
,
,
, giving the starting position
of the Fellow and the ending position of the Fellow (the last point where the student can reach the Fellow). The final number is a real value
,
, giving the Fellow's walking speed. All real-valued inputs will have at most four digits after the decimal point.
The Fellow always walks in a straight line. The student can walk only along walkways, which are assumed to have zero width. If a walkway intersects with another walkway or the Fellow's path, it will do so at a single point. Collinear walkways never intersect one another; similarly, if the Fellow's path and a walkway are collinear, they will not intersect.
Output the earliest timewhen the student's position and the Fellow's position can coincide at an intersection of a walkway and the Fellow's path. If this is impossible, output the word "Impossible". Numeric answers should be accurate to within an absolute or relative error of
.