#include <bits/stdc++.h>
using namespace std;
double A, B, C, delta;
int main() {
  cin >> A >> B >> C;
  cout.precision(10);
  if (A == 0) {
    if (B == 0) {
      cout << "0";
      return 0;
    }
    cout << "1" << endl;
    cout << fixed << -C / B;
    return 0;
  }
  delta = B * B - 4 * A * C;
  if (delta < 0) cout << "-1";
  if (delta == 0) {
    cout << "1" << endl;
    cout << fixed << -B / (2 * A);
  }
  if (delta > 0) {
    cout << "2" << endl;
    cout << fixed << (-B - sqrt(delta)) / (2 * A) << endl;
    cout << fixed << (-B + sqrt(delta)) / (2 * A);
  }
  return 0;
}
