Skip to main content

~/algor $ cat contests/round-7/AU

AU. Quadratic equation

Problem AU ICPC rules 1000 ms 64 MB

A quadratic equation is given, where and the discriminant is positive, so it has two distinct roots. Find them:

Since , .

A parabola crosses the x axis at two points: x1 and x2 are the roots of the equation

Input

One line with three integers: , and .

Output

One line with two numbers: and , each with exactly 3 digits after the decimal point (for example, 1.000).

Note



Examples

Input #1
1 -3 2
Output #1
1.000 2.000
Input #2
1 0 -2
Output #2
-1.414 1.414

Sign in to submit a solution

Signing up is free and takes a minute.