#include <bits/stdc++.h>
using namespace std;
int main() {
  long double a, b, c, delta, x1, x2;
  cin >> a >> b >> c;
  c = c / a;
  b = b / a;
  a = 1;
  delta = b * b - 4 * c;
  x1 = (-b + sqrt(delta)) / (2 * a);
  x2 = (-b - sqrt(delta)) / (2 * a);
  cout << setprecision(9) << max(x1, x2) << " " << setprecision(9)
       << min(x1, x2) << endl;
  return 0;
}
