#include <bits/stdc++.h>
using namespace std;
int main() {
  double a, b, c, k, D, x1, x2;
  cin >> a >> b >> c;
  D = b * b - 4 * a * c;
  if (a == 0) {
    if (b == 0 && c != 0) {
      cout << 0;
      return 0;
    } else if (b == 0 && c == 0) {
      cout << -1;
      return 0;
    } else {
      cout << 1 << "\n" << setprecision(10) << fixed << c / a * 1.0;
      return 0;
    }
  }
  D = b * b - 4 * a * c;
  if (D < 0) {
    cout << 0;
    return 0;
  }
  if (D == 0) {
    cout << 1 << "\n" << setprecision(10) << fixed << (-b / (2 * a));
    return 0;
  }
  x1 = (-b + sqrt(D)) / (2 * a);
  x2 = (-b - sqrt(D)) / (2 * a);
  if (x1 > x2) {
    double f = x1;
    x1 = x2;
    x2 = f;
  }
  cout << 2 << "\n" << setprecision(10) << fixed << x1 << "\n" << x2;
}
