#include using namespace std; long long int A, B, C; long double f(long double x) { return x * x * x + A * x * x + B * x + C; } int main(void) { cin.tie(0); ios::sync_with_stdio(false); cin >> A >> B >> C; long double res[3]; long double p0 = (-A - sqrt(A * A - 3 * B)) / 3; long double p1 = (-A + sqrt(A * A - 3 * B)) / 3; long double lo = -1e9; long double hi = p0; for(int i=0;i<200;i++) { long double mid = (lo + hi) / 2; if (f(mid) <= 0) { res[0] = mid; lo = mid + 1; } else { hi = mid - 1; } } lo = p0; hi = p1; for(int i=0;i<200;i++) { long double mid = (lo + hi) / 2; if (f(mid) >= 0) { res[1] = mid; lo = mid + 1; } else { hi = mid - 1; } } lo = p1; hi = 1e9; for(int i=0;i<200;i++) { long double mid = (lo + hi) / 2; if (f(mid) <= 0) { res[2] = mid; lo = mid + 1; } else { hi = mid - 1; } } cout << res[0] << ' ' << res[1] << ' ' << res[2] << '\n'; return 0; }