#include <bits/stdc++.h>
int main() {
  double a, b, c, s = 0;
  double i, 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");
    printf("%lf", -c / b);
    return 0;
  }
  if ((a == 0 && b == 0 && c == 0) || d < 0) {
    printf("-1");
    return 0;
  }
  if (a == 0 && b == 0) {
    printf("0");
    return 0;
  }
  if (d == 0) {
    printf("1\n");
    printf("%lf", -b / (2 * a));
    return 0;
  }
  if (d > 0) {
    printf("2\n");
    x1 = (-b - sqrt(d)) / (2 * a);
    x2 = (-b + sqrt(d)) / (2 * a);
    if (x1 < x2) {
      printf("%lf\n", x1);
      printf("%lf", x2);
    } else {
      printf("%lf\n", x2);
      printf("%lf", x1);
    }
    return 0;
  }
  return 0;
}
