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