Problems
The intersection of two lines
The intersection of two lines
Find the intersection points of two non-parallel lines.
\InputFile
Six numbers - the coefficients \textbf{A}, \textbf{B} and \textbf{C}, the normal equation of two different non-parallel lines (initially for one line, then to the other). All input data are integers not exceeding modulo \textbf{10000}.
\OutputFile
Two numbers - the coordinates of their intersection points with an accuracy of \textbf{2} decimal places.
Input example #1
1 1 -1 1 -1 0
Output example #1
0.50 0.50