#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  while (cin >> a >> b >> c) {
    if (a == 0) {
      if (b == 0) {
        if (c == 0)
          printf("-1\n");
        else
          printf("0\n");
      } else {
        double x = -c * 1.0 / b;
        printf("1\n%.9lf\n", x);
      }
    } else {
      if (b * b - 4 * a * c < 0)
        printf("0\n");
      else if (b * b - 4 * a * c == 0) {
        double x = (-b) / 2.0 / a;
        printf("1\n%.9lf\n", x);
      } else {
        double x1 = (-b + sqrt(b * b - 4 * a * c * 1.0)) / 2.0 / a;
        double x2 = (-b - sqrt(b * b - 4 * a * c * 1.0)) / 2.0 / a;
        if (x1 > x2) swap(x1, x2);
        printf("2\n%.9lf %.9lf\n", x1, x2);
      }
    }
  }
  return 0;
}
