#include <bits/stdc++.h>
using namespace std;
double aa, bb, cc;
int a, b, c;
int main() {
  scanf("%d%d%d", &a, &b, &c);
  aa = a, bb = b, cc = c;
  double deta = bb * bb - 4 * aa * cc;
  if (deta < 0) {
    printf("0\n");
    return 0;
  }
  if (a == 0 && b != 0) {
    printf("1\n");
    printf("%.8lf", double(c) / b);
    return 0;
  }
  if (a == 0 && b == 0) {
    if (c == 0) printf("-1\n");
    if (c != 0) {
      printf("0");
    }
    return 0;
  }
  double x1, x2;
  x1 = (-1 * b + sqrt(deta)) / 2 * aa;
  x2 = (-1 * b - sqrt(deta)) / 2 * aa;
  if (fabs(x1 - x2) < 1e-8) {
    printf("1\n");
    printf("%.8lf", x1);
    return 0;
  } else {
    printf("2\n");
    printf("%.8lf\n", min(x1, x2));
    printf("%.8lf\n", max(x1, x2));
    return 0;
  }
  return 0;
}
