#include <bits/stdc++.h>
using namespace std;
int main() {
  double a, b, c, A, B;
  scanf("%lf%lf%lf", &a, &b, &c);
  if (!a && !b && !c) {
    printf("-1\n");
    return 0;
  }
  if (b * b - 4 * a * c < 0) {
    printf("-1\n");
    return 0;
  }
  if (!a && !b) {
    printf("0\n");
    return 0;
  }
  if (!a) {
    printf("1\n%lf\n", -c / b);
    return 0;
  }
  if (!b) {
    if (a > 0 && c > 0 || a < 0 && c < 0)
      printf("2\n%lf\n-%lf\n", sqrt(c / a), sqrt(c / a));
    else
      printf("-1\n");
    return 0;
  }
  if (!c) {
    printf("2\n0\n%lf\n", -(b / a));
    return 0;
  }
  A = (-b + sqrt(b * b - 4 * a * c)) / (2 * a);
  B = (-b - sqrt(b * b - 4 * a * c)) / (2 * a);
  if (A < B)
    printf("2\n%.6lf\n%.6lf\n", A, B);
  else
    printf("2\n%.6lf\n%.6lf\n", B, A);
  return 0;
}
