#include <bits/stdc++.h>
int main() {
  double A, B, C;
  double del;
  while (scanf("%lf%lf%lf", &A, &B, &C) != EOF) {
    if (A == 0) {
      if (B == 0) {
        if (C == 0)
          printf("-1\n");
        else
          printf("0\n");
      } else {
        printf("1\n");
        printf("%.10f\n", -C / B);
      }
    } else {
      del = B * B - 4 * A * C;
      if (del > 0) {
        printf("2\n");
        printf("%.10f\n%.10f\n", (-B - sqrt(del)) / (2 * A),
               (-B + sqrt(del)) / (2 * A));
      } else if (del == 0) {
        printf("1\n");
        printf("%.10f\n", -B / (2 * A));
      } else
        printf("0\n");
    }
  }
  return 0;
}
