The Most Global Positioning System
InterviewTime limit2sMemory limit1024 MB
Given three non-collinear tower positions and the distance from each tower to an object, find the object's coordinates, or print Impossible if no point fits.
Problem
Flatland recently decided to build the Newest Most Global Positioning System. The country covers an infinitely large part of the plane, so launching satellites is too difficult. The government chose a ground-based method instead.
Three radio towers were built in Flatland. They are not on one straight line. An object that wants to know its location sends a signal to the towers. Each tower measures the signal strength and uses it to find the distance to the object.

Write a program that implements the last component of the system. The program receives the coordinates of the towers and the distance from the object to each tower, and it finds the coordinates of the object.
Input
The first line contains three pairs of numbers , , , , , and , the coordinates of the towers. The second line contains three non-negative numbers, the distances to the corresponding towers. All numbers in the input are integers, and their absolute values do not exceed .
Output
If no location of the object matches the given distances to the towers, print the single word Impossible. Otherwise, print two numbers, the coordinates of the object. The answer is checked with an accuracy of six digits after the decimal point.