#include <bits/stdc++.h>
const long long inf = 1e9 + 7;
void solve() {
  long double a, b, c, d, ans;
  cin >> a >> b >> c;
  d = b * b - 4 * a * c;
  if (d < 0 || (a == 0 && b == 0 && c != 0)) {
    cout << 0 << endl;
    return;
  }
  if (c == 0 && b == 0 && a == 0) {
    cout << "-1\n";
  }
  if (a == 0)
    cout << "1\n" << -c / b << endl;
  else {
    if (d == 0)
      cout << "1\n" << -b / (2 * a) << endl;
    else
      cout << setprecision(10) << "2\n"
           << (-b - sqrt(d)) / (2 * a) << endl
           << (-b + sqrt(d)) / (2 * a) << endl;
  }
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  solve();
  return 0;
}
