#20Medium
System of equations
Time: 1 s · Memory: 256 MB
- Variables and types
Statement
You are given a system of two linear equations with two unknowns:
The system has a unique solution. Find and .
Input format
The first line contains , , and the second line contains , , : integers, each at most in absolute value. .
Output format
A single line with two numbers: and , each with exactly 2 digits after the decimal point.
Examples
Input
1 1 5 2 -1 4
Output
3.00 2.00
Input
2 3 13 1 -1 -1
Output
2.00 3.00
Note
Cramer's rule: , , .
In the first example: , , .
