#include <bits/stdc++.h>
using namespace std;
int32_t main() {
  ios::sync_with_stdio(0);
  cin.tie(nullptr);
  int a, b, c;
  cin >> a >> b >> c;
  cout << fixed << setprecision(10);
  if (a == 0) {
    if (b == 0) {
      if (c == 0) {
        cout << -1 << "\n";
        return 0;
      }
      cout << 0 << "\n";
      return 0;
    }
    cout << 1 << "\n";
    cout << -1.0 * c / b << "\n";
    return 0;
  } else {
    int delta = b * b - 4 * a * c;
    if (delta < 0) {
      cout << 0 << "\n";
      return 0;
    }
    if (delta == 0) {
      cout << 1 << "\n";
      cout << -1.0 * b / 2.0 * a << "\n";
      return 0;
    }
    cout << 2 << "\n";
    cout << (-1.0 * b - delta) / 2.0 * a << "\n";
    cout << (-1.0 * b + delta) / 2.0 * a << "\n";
    return 0;
  }
  return 0;
}
