#include #include #include int main(){ long long a, b, c; scanf("%lld%lld%lld", &a, &b, &c); if (a){ if (a < 0){ a = -a; b = -b; c = -c; } long long p = b*b-a*c*4; if (!p) printf("1\n%.14Lf\n", -b*0.5l / a); else if (p>0) { long double s, t; if (b >= 0) { s = -0.5*(sqrtl(p) + b) / a; t = c / (long double)a / s; } else { t = (sqrtl(p) - b)*0.5 / a; s = c / (long double)a / t; } printf("2\n%.14Lf\n%.14Lf\n", s, t); } else puts("0"); } else{ if (b) printf("1\n%.14Lf\n", -c / (long double)b); else puts(c ? "0" : "-1"); } return 0; }