#include <bits/stdc++.h>
using namespace std;
int main() {
  long long a, b, c;
  while (cin >> a >> b >> c) {
    if (a == b && b == 0) {
      printf("%d\n", -1);
      continue;
    }
    long long k = b * b - 4 * a * c;
    double ans;
    if (k < 0) {
      printf("%d\n", 0);
      continue;
    } else if (k == 0) {
      printf("%d\n", 1);
      ans = (double)(-b) / (2 * a);
      printf("%.10lf\n", ans);
    } else {
      printf("%d\n", 2);
      double di = 2 * a;
      double d = sqrt((double)k);
      ans = (-b - d) / di;
      double ans1 = (-b + d) / di;
      printf("%.10lf %.10lf\n", ans, ans1);
    }
  }
}
