#include <bits/stdc++.h>
using namespace std;
int main() {
  double a, b, c;
  cin >> a >> b >> c;
  if (a * a * 1 + b * 1 + c == 0 and a * a * 2 + b * 2 + c == 0 and
      a * a * 3 + b * 3 + c == 0)
    cout << "-1";
  else {
    if (a == 0 and b == 0 and c != 0)
      cout << "0";
    else if (a == 0 and b != 0 and c != 0 or
             a != 0 and double((-b + sqrt(b * b - 4 * a * c)) / (2 * a)) ==
                            double((-b - sqrt(b * b - 4 * a * c)) / (2 * a))) {
      cout << "1" << endl;
      cout << double(c / -b);
    } else {
      cout << "2" << endl;
      cout << double((-b - sqrt(b * b - 4 * a * c)) / (2 * a)) << endl;
      cout << double((-b + sqrt(b * b - 4 * a * c)) / (2 * a));
    }
  }
}
