#include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
const double eps = 1e-8;
const int nm = 1000005;
int main() {
  double a, b, c, delta, x, y, z;
  cin >> a >> b >> c;
  delta = b * b - 4. * a * c;
  if (fabs(delta) < eps) {
    printf("1\n");
    printf("%.10lf", -b / 2. / a);
  } else if (delta < 0) {
    printf("-1");
  } else {
    printf("2\n");
    double r1 =
        min((-b - pow(delta, 0.5)) / 2. / a, (-b + pow(delta, 0.5)) / 2. / a);
    double r2 =
        max((-b - pow(delta, 0.5)) / 2. / a, (-b + pow(delta, 0.5)) / 2. / a);
    printf("%.10lf\n%.10lf", r1, r2);
  }
  return 0;
}
