#include <bits/stdc++.h>
using namespace std;
int main() {
  std::cout << std::fixed;
  std::cout << std::setprecision(5);
  float a, b, c;
  double discr;
  cin >> a >> b >> c;
  discr = b * b - 4 * a * c;
  if (a == 0 && b != 0) {
    cout << 1 << endl;
    cout << -c / b;
  } else if (a != 0 && b == 0) {
    if (-c < 0) {
      cout << 0;
    } else if (-c == 0) {
      cout << 0 << endl;
      cout << 0;
    } else {
      cout << 2 << endl;
      double result = sqrt(-c / a);
      cout << -result << endl;
      cout << result << endl;
    }
  } else if (a == 0 && b == 0)
    cout << -1;
  else {
    if (discr > 0) {
      cout << 2 << endl;
      (((-b - discr) / (2 * a)) <= ((-b + discr) / (2 * a)))
          ? cout << (-b - discr) / (2 * a) << endl
          : cout << (-b + discr) / (2 * a) << endl;
      (((-b - discr) / (2 * a)) <= ((-b + discr) / (2 * a)))
          ? cout << (-b + discr) / (2 * a) << endl
          : cout << (-b - discr) / (2 * a) << endl;
    } else if (discr == 0) {
      cout << 1 << endl;
      cout << -b / (2 * a);
    }
  }
}
