#include <bits/stdc++.h>
using namespace std;
int main() {
  double a, b, c, delta;
  cin >> a >> b >> c;
  delta = b * b - 4 * a * c;
  if (a == 0 && b == 0) {
    if (c == 0)
      cout << -1 << endl;
    else
      cout << fixed << setprecision(11) << 0 << endl;
  } else if (a == 0) {
    cout << 1 << endl;
    cout << fixed << setprecision(11) << -c / b << endl;
  } else if (b == 0) {
    if ((c > 0 && a > 0) || (c < 0 && a < 0)) {
      cout << 0 << endl;
    } else if (c == 0) {
      cout << 1 << endl;
      cout << 0.000000 << endl;
    } else {
      cout << 2 << endl;
      cout << fixed << setprecision(11) << -sqrt(-c / a) << endl;
      cout << fixed << setprecision(11) << sqrt(-c / a) << endl;
    }
  } else if (delta > 0) {
    cout << 2 << endl;
    cout << fixed << setprecision(11) << (-b - sqrt(delta)) / (2 * a) << endl;
    cout << fixed << setprecision(11) << (-b + sqrt(delta)) / (2 * a) << endl;
  } else if (delta == 0) {
    cout << 1 << endl;
    cout << fixed << setprecision(11) << (-b) / (2 * a) << endl;
  } else {
    cout << 0.000000 << endl;
  }
  return 0;
}
