#include <bits/stdc++.h>
int main() {
  int a, b, c, D;
  scanf("%d %d %d", &a, &b, &c);
  D = (b * b) - (4 * a * c);
  double p, q;
  if (D == 0 && a != 0 && b != 0 && c != 0) {
    p = -b / (2 * a);
    printf("1\n");
    printf("%.5lf\n", p);
  } else if ((D > 0 && a != 0) || (a > 0 && b == 0 && c < 0) ||
             (a < 0 && b == 0 && c > 0)) {
    p = (-b + sqrt((b * b) - (4 * a * c))) / (2 * a);
    q = (-b - sqrt((b * b) - (4 * a * c))) / (2 * a);
    printf("2\n");
    if (p > q) {
      printf("%.5lf\n", q);
      printf("%.5lf\n", p);
    } else {
      printf("%.5lf\n", p);
      printf("%.5lf\n", q);
    }
  } else if ((D < 0) || (a == 0 && b == 0 && c != 0) ||
             (a != 0 && b == 0 && c == 0)) {
    printf("0\n");
  } else if ((a == 0 && b == 0 && c == 0) || (a == 0 && b != 0 && c != 0) ||
             (a == 0 && b == 0 && c != 0) || (a == 0 && b != 0 && c == 0)) {
    printf("-1\n");
  }
  return 0;
}
