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