#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
        printf("1\n%.6lf\n", (double)-c / b);
    } else if (jd < 0)
      printf("0\n");
    else if (jd == 0)
      printf("1\n%.6lf\n", (double)-b / 2 * a);
    else {
      double t = b * b - 4 * a * c;
      printf("2\n%.6lf %.6lf\n", (double)(-b - sqrt(t)) / (double)2 * a,
             (double)(-b + sqrt(t)) / (double)2 * a);
    }
  }
  return 0;
}
