#include <bits/stdc++.h>
int main() {
  int a, b, c;
  float x1, x2, n, x, o;
  scanf("%d %d %d", &a, &b, &c);
  x = ((b * b) - 4 * a * c);
  if (x > 0 && a != 0) {
    printf("2\n");
    x1 = (-b + sqrt(b * b - 4 * a * c)) / 2 * a;
    x2 = (-b - sqrt(b * b - 4 * a * c)) / 2 * a;
    if (x1 < x2) {
      printf("%f\n%f", x1, x2);
    } else {
      printf("%f\n%f", x2, x1);
    }
  }
  if (x > 0 && a == 0) {
    printf("1\n");
    o = (-c) / b;
    printf("%f", o);
  }
  if (x == 0 && a == 0 && b == 0 || c == 0) {
    printf("-1\n");
  }
  if (x == 0 && a != 0 && b != 0) {
    printf("1\n");
    n = (-b) / 2 * a;
    printf("%f", n);
  } else {
    printf("0\n");
  }
  return 0;
}
