#include <bits/stdc++.h>
int main() {
  long long A, B, C;
  double x, y;
  scanf("%lld%lld%lld", &A, &B, &C);
  if (A == 0 && B == 0 && C == 0)
    printf("-1\n");
  else if (A == 0 && B == 0)
    printf("0\n");
  else if (A == 0) {
    x = -C * 1.00 / B;
    printf("%d\n%.7lf\n", 1, x);
  } else {
    y = B * B - A * C * 4;
    if (y > 0) {
      printf("2\n%.7lf\n%.7lf\n", (-B - sqrt(y)) / (2 * A),
             (-B + sqrt(y)) / (2 * A));
    } else if (y == 0)
      printf("1\n%.7lf\n", (-B * 1.00) / (2 * A));
    else
      printf("0\n");
  }
}
