#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int a, b, c;
  cout << fixed << setprecision(10);
  while (cin >> a >> b >> c) {
    if (a < 0) {
      a *= -1;
      b *= -1;
      c *= -1;
    }
    ll d = 1ll * b * b - 4ll * a * c;
    if (d < 0)
      cout << -1 << '\n';
    else if (d == 0)
      cout << "1\n" << -1.0 * b / 2.0 / a << '\n';
    else {
      cout << "2\n"
           << (-1.0 * b - sqrt(1.0 * d)) / 2.0 / a << '\n'
           << (-1.0 * b + sqrt(1.0 * d)) / 2.0 / a << '\n';
    }
  }
  return 0;
}
