#include <bits/stdc++.h>
int main() {
  int a, b, c, n = 0, count = 0;
  double d, r1, r2;
  scanf("%d%d%d", &a, &b, &c);
  if (a == 0 && b == 0 && c == 0) {
    printf("-1");
    goto end;
  }
  if (a == 0 && b == 0) {
    printf("-1");
    goto end;
  }
  if (a == 0) {
    printf("1\n");
    printf("%lf", -((double)c / b));
    goto end;
  }
  d = sqrt(b * b - 4 * a * c);
  if (d < 0) {
    printf("0");
    goto end;
  } else {
    count = 2;
    printf("%d\n", count);
    r1 = ((-b) - d) / (2.0 * a);
    r2 = ((-b) + d) / (2.0 * a);
    printf("%lf\n%lf", r1, r2);
  }
end:
  return 0;
}
