#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  while (scanf("%d%d%d", &a, &b, &c) != EOF) {
    int jd = b * b - 4 * a * c;
    if (a == 0) {
      if (b == 0 && c == 0)
        printf("-1\n");
      else if (b == 0 && c != 0)
        printf("0");
      else
        printf("1\n%.6lf\n", (double)-c / (double)b);
    } else if (jd < 0)
      printf("0\n");
    else if (jd == 0)
      printf("1\n%.6lf\n", (double)-b / (double)2 * a);
    else {
      double t = b * b - 4 * a * c;
      double f1 = (double)-b - sqrt(t);
      double f2 = (double)-b + sqrt(t);
      printf("2\n%.6lf %.6lf\n", (double)f1 / (double)2 * a,
             (double)f2 / (double)2 * a);
    }
  }
  return 0;
}
