#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); }
int main() {
  long long n, m, x, a, b, c, d;
  cin >> a >> b >> c;
  if (a == 0) {
    if (b == 0) {
      if (c == 0) cout << -1 << endl;
      if (c != 0) cout << 0 << endl;
    } else {
      cout << 1 << endl;
      printf("%lf", (1.0 * -c) / b);
    }
    return 0;
  }
  d = b * b - 4 * a * c;
  if (d < 0) cout << 0 << endl;
  if (d == 0) printf("1\n%lf\n", (1.0 * -b) / (2 * a));
  if (d >= 0) {
    double x, y;
    x = 1.0 * (-b + sqrt(d + 1e-8)) / (2 * a);
    y = 1.0 * (-b - sqrt(d + 1e-8)) / (2 * a);
    cout << 2 << endl;
    printf("%lf\n%lf\n", min(x, y), max(x, y));
  }
}
