The root of a cubic equation#4420

The root of a cubic equation

1 saniye
128 megabayt
Çok kolay

Given a cubic equation

a x^3 + b x^2 + c x + d = 0 (a \ne 0)

It is known that this equation has exactly one root. Find it.

Giriş

Four integers: a, b, c, d~(-1000 \le a, b, c, d \le 1000).

Çıktı

Print the root of the equation with no less than decimal digits.

Örnekler

Örnek 1

Loading
Loading

Örnek 2

Loading
Loading