#include <bits/stdc++.h>
using namespace std;
int main() {
  double a, b, c;
  cin >> a >> b >> c;
  if (b * b - 4 * a * c < 0) {
    cout << 0;
    return 0;
  }
  if (a == 0 && b == 0 && c == 0) {
    cout << -1;
    return 0;
  }
  if (b * b - 4 * a * c == 0) {
    cout << 1 << endl;
    double x = -b / (2 * a);
    cout << setprecision(5) << fixed << x;
    return 0;
  }
  double x1 = (-b + sqrt(b * b - 4 * a * c)) / (2 * a);
  double x2 = (-b + sqrt(b * b - 4 * a * c)) / (2 * a);
  double ans1 = (x1 > x2) ? x2 : x1;
  double ans2 = (x1 > x2) ? x2 : x1;
  cout << 2 << endl;
  cout << setprecision(5) << fixed << ans1 << endl;
  cout << setprecision(5) << fixed << ans2 << endl;
  return 0;
}
