#include <bits/stdc++.h>
using namespace std;
int main() {
  double A, B, C;
  const double EPSILON = 1e-8;
  cin >> A >> B >> C;
  if (A == 0) {
    if (B == 0) {
      if (C == 0)
        cout << -1 << endl;
      else
        cout << 0 << endl;
    } else {
      cout << 1 << endl;
      printf("%.10lf\n", -C / B);
    }
  } else {
    double det = B * B - 4 * A * C;
    if (det < -EPSILON)
      cout << 0 << endl;
    else if (det < EPSILON) {
      cout << 1 << endl;
      printf("%.10lf\n", -B / A / 2);
    } else {
      double x1 = (-B + det) / A / 2;
      double x2 = (-B - det) / A / 2;
      if (x1 > x2) swap(x1, x2);
      cout << 2 << endl;
      printf("%.10lf\n%.10lf\n", x1, x2);
    }
  }
}
