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