#include <bits/stdc++.h>
int main() {
  double a, b, c, d, x1, x2;
  scanf("%lf %lf %lf", &a, &b, &c);
  d = b * b - (4 * a * c);
  if (a == 0 && b == 0 && c == 0)
    printf("-1\n");
  else if (a == 0) {
    printf("1 %.5lf\n", ((-1 * c)) / b);
  } else if (d < 0.00)
    printf("-1\n");
  else {
    if (d > 0.00)
      printf("2\n");
    else
      printf("1\n");
    x1 = (-1 * b + sqrt(d)) / (2 * a);
    x2 = (-1 * b - sqrt(d)) / (2 * a);
    if (x1 > x2) {
      a = x1;
      x1 = x2;
      x2 = a;
    }
    printf("%.5lf\n", x1);
    if (d > 0.00) printf("%.5lf\n", x2);
  }
  return 0;
}
