Skip to content
UPEEC

Quadratic Equation

Easy#math· solved by 0 · time limit 2.0 s

Solve ax2+bx+c=0ax^2 + bx + c = 0. Print the real roots in increasing order with 3 decimals (one root if both are equal), or No real roots.

Input

Three integers a≠0a \ne 0, bb, cc.

Output

The root(s) or No real roots.

Constraints

1≤∣a∣≤10001 \le |a| \le 1000, ∣b∣,∣c∣≤1000|b|, |c| \le 1000

Sample 1

Input

1 -3 2

Output

1.000 2.000

Sample 2

Input

1 2 5

Output

No real roots

Sign in or join free to run and submit your solution.