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