#include <bits/stdc++.h>
using namespace std;
int main() {
  float A, B, C, D;
  double x = 0, y = 0;
  cin >> A >> B >> C;
  D = (B * B) - (4 * A * C);
  if (A == 0 && B == 0 && C == 0) {
    cout << "-1" << endl;
  } else if (A == 0 && B == 0) {
    cout << "0" << endl;
  } else if (A == 0) {
    cout << "1" << endl;
    x = (-C) / B;
    printf("%.10lf", x);
  } else {
    if (D > 0) {
      cout << "2" << endl;
      x = (-B + sqrt(D)) / (2 * A);
      y = (-B) / (A)-x;
      if (x < y) {
        printf("%.10lf\n%.10lf", x, y);
      } else
        printf("%.10lf\n%.10lf", y, x);
    } else if (D == 0) {
      cout << "1" << endl;
      x = (-B) / (2 * A);
      printf("%.10lf", x);
    } else {
      cout << "0" << endl;
    }
    return 0;
  }
}
