#include <bits/stdc++.h>
using namespace std;
int main() {
  freopen("input.txt", "r", stdin);
  int a, b, c, k = 0;
  scanf("%d %d %d", &a, &b, &c);
  double x1, x2, d;
  if (a == 0) {
    k = 1;
    if (b == 0) {
      printf("-1");
      return 0;
    }
    x1 = -c / b;
    printf("1 \%.5 lf", x1);
    return 0;
  }
  d = b * b - a * c * 4;
  if (d < 0) {
    printf("0");
    return 0;
  }
  d = sqrt(d);
  x1 = (-b + d) / (2 * a);
  x2 = (-b - d) / (2 * a);
  printf("2 \n%.5lf\n%.5lf", x1, x2);
}
