#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  int x = b * b - 4 * a * c;
  if (a == 0) {
    if (b == 0) {
      if (c == 0)
        cout << -1;
      else {
        cout << 0;
      }
    } else {
      double y = ((-1.0) * c) / b;
      cout << 1 << '\n';
      cout << fixed << setprecision(10) << y;
    }
  } else {
    if (x == 0) {
      double D = sqrt(x);
      double u = (-(b) + D) / 2 * a;
      double v = (-(b)-D) / 2 * a;
      cout << 1 << '\n';
      cout << fixed << setprecision(10) << v << '\n';
    }
    if (x < 0) {
      cout << 0;
    }
    if (x > 0) {
      double D = sqrt(x);
      double u = (-(b) + D) / 2 * a;
      double v = (-(b)-D) / 2 * a;
      cout << 2 << '\n';
      cout << fixed << setprecision(10) << v << '\n';
      cout << fixed << setprecision(10) << u << " ";
    }
  }
}
