#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
const long long MOD = 998244353;
inline long long add(long long x, long long y) {
  x += y;
  if (x >= mod) x -= mod;
  return x;
}
inline long long sub(long long x, long long y) {
  x -= y;
  if (x < 0) x += mod;
  return x;
}
inline long long mul(long long x, long long y) { return (x * 1ll * y) % mod; }
mt19937 rng32(chrono::steady_clock::now().time_since_epoch().count());
bool pal(string s) {
  long long n = s.size() / 2;
  for (long long i = 0; i < n / 2; i++)
    if (s[i] != s[s.size() - i - 1]) return false;
  return true;
}
signed main() {
  double a, b, c;
  cin >> a >> b >> c;
  bool res = true;
  if (a == 0 && b == 0 && c == 0) {
    cout << -1;
    return 0;
  }
  if (b * b - 4 * a * c < 0)
    cout << -1;
  else if ((b * b - 4 * a * c) == 0) {
    cout << 1 << endl;
    double x = -b / 2;
    cout << fixed;
    cout << setprecision(10) << x << endl;
  } else {
    cout << 2 << endl;
    double x = (-b + sqrt(b * b - 4 * a * c)) / 2,
           y = (-b - sqrt(b * b - 4 * a * c)) / 2;
    cout << fixed;
    cout << setprecision(10) << min(x, y) << endl;
    cout << setprecision(10) << max(x, y) << endl;
  }
}
