#include <bits/stdc++.h>
using namespace std;
int main() {
  long long a, b, c, d;
  cin >> a >> b >> c;
  if (a == 0 && b == 0 && c == 0) {
    cout << "-1\n";
    return 0;
  }
  if (a == 0 && b == 0) {
    cout << "0\n";
    return 0;
  }
  if (a == 0) {
    cout << "1\n";
    cout << (-(double)c) / b;
    return 0;
  }
  d = b * b - 4 * a * c;
  if (d < 0) {
    cout << "0\n";
    return 0;
  }
  if (d == 0) {
    cout << "1\n";
    cout << (-b) / 2 / a;
    return 0;
  }
  double e = sqrt(d);
  cout << "2\n";
  cout << (-b - e) / 2 / a << "\n";
  cout << (-b + e) / 2 / a;
  return 0;
}
