#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 10;
int main() {
  double a, b, c, d, r1, r2;
  cin >> a >> b >> c;
  d = (b * b - 4 * a * c);
  if (!a && !b && !c) return cout << "-1", 0;
  if (!a) {
    r1 = (-c) / b;
    cout << "1\n";
    return cout << fixed << setprecision(8) << r1, 0;
  }
  if (!a && !b) return cout << "0", 0;
  if (d < 0.0000000) return cout << "0", 0;
  if (d) {
    cout << "2\n";
    r1 = (-b - sqrtl(d)) / (2 * a);
    r2 = (-b + sqrtl(d)) / (2 * a);
    cout << fixed << setprecision(8) << r1 << endl
         << fixed << setprecision(8) << r2;
  } else {
    cout << "1\n";
    r1 = (-b) / (2 * a);
    cout << fixed << setprecision(8) << r1;
  }
}
