#include <bits/stdc++.h>
using namespace std;
int main() {
  int A, B, C;
  cin >> A >> B >> C;
  double D, ans1, ans2;
  D = (double)((double)B * (double)B - 4.0 * (double)A * (double)C);
  if (A == 0 && B != 0)
    printf("1\n%lf\n", (double)(-C) / B);
  else if (D < 0)
    printf("0\n");
  else if (D > 0) {
    double d = sqrt(D);
    double tmp1 = -B + d;
    double tmp2 = -B - d;
    if (tmp1 == 0 && A == 0 || tmp2 == 0 && A == 0) {
      printf("-1\n");
      return 0;
    } else {
      ans1 = tmp1 / (2.0 * A);
      ans2 = tmp2 / (2.0 * A);
      if (ans1 == 0) ans1 = 0.0;
      if (ans2 == 0) ans2 = 0.0;
      printf("2\n");
      if (ans1 < ans2) {
        printf("%lf\n%lf\n", ans1, ans2);
        return 0;
      } else {
        printf("%lf\n%lf\n", ans2, ans1);
        return 0;
      }
    }
  } else {
    double tmp1 = -B;
    if (tmp1 == 0 && A == 0) {
      printf("-1\n");
      return 0;
    } else {
      ans1 = tmp1 / (2.0 * A);
      printf("1\n");
      if (ans1 == 0.0) ans1 = 0.0;
      printf("%lf\n", ans1);
      return 0;
    }
  }
  return 0;
}
