#include <bits/stdc++.h>
using namespace std;
long long modpow(long long x, long long y, long long m) {
  if (y == 0) return 1;
  long long p = modpow(x, y / 2, m) % m;
  p = (p * p) % m;
  return ((y & 1) ? (x * p) % m : p);
}
int egcd(int a, int b, int& x, int& y) {
  if (a == 0) {
    x = 0;
    y = 1;
    return b;
  }
  int x1, y1;
  int gcd = egcd(b % a, a, x1, y1);
  x = y1 - (b / a) * x1;
  y = x1;
  return gcd;
}
string z[2] = {"NO", "YES"};
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long a, b, c;
  cin >> a >> b >> c;
  cout << setprecision(7) << fixed;
  if (!a && !b && !c)
    cout << -1 << "\n";
  else if (b * b < 4 * a * c)
    cout << 0 << "\n";
  else if (b * b == 4 * a * c)
    cout << 1 << " " << 0.5 * b / a << "\n";
  else {
    double d = sqrt(b * b - 4 * a * c);
    cout << 2 << " " << (-b - d) * 0.5 / a << " " << (-b + d) * 0.5 / a << "\n";
  }
  return 0;
}
