#include <bits/stdc++.h>
using namespace std;
int a, b, c, dl;
int main() {
  scanf("%d%d%d", &a, &b, &c);
  if (a == 0) {
    if (b == 0 && c == 0) return printf("-1") & 0;
    if (b == 0 && c != 0)
      return printf("0") & 0;
    else {
      return printf("1\n%.10lf", -(double)c / b) & 0;
    }
  } else {
    dl = b * b - 4 * a * c;
    if (dl < 0) return printf("0") & 0;
    if (dl == 0)
      return printf("1\n%.10lf", (double)-b + sqrt(dl) / 2 * a) & 0;
    else
      return printf("2\n%.10lf\n%.10lf",
                    max((double)(-b - sqrt(dl)) / 2 / a,
                        (double)(-b + sqrt(dl)) / 2 / a),
                    min((double)(-b - sqrt(dl)) / 2 / a,
                        (double)(-b + sqrt(dl)) / 2 / a)) &
             0;
  }
}
