#include main(t){ long a,b,c;long double d; scanf("%ld%ld%ld",&a,&b,&c); if(a){ if(a<0){a=-a;b=-b;c=-c;} d=1.0l*b*b-4.0l*a*c; fabsl(d)>1e-9?d>0?printf("2\n%.19Lf\n%.19Lf\n",-(sqrtl(d)+b)/a/2,(sqrtl(d)-b)/a/2):puts("0"):printf("1\n%.19Lf\n",-0.5l*b/a); }else{ b?printf("1\n%.19Lf\n",-1.0l*c/b):puts(c?"0":"-1"); }}