#include <iostream>
#include <algorithm>
#include <math.h>
#include <conio.h>
using namespace std;
int main()
{   double a, b, c;
    cin>>a>>b>>c;
    double delta=(b*b-4*a*c);
    if (delta<0)
        cout<<0;
    else if (delta==0){
        cout.precision(10);
        cout<<1<<" "<<fixed<<-(1*b)/(2*a);
    }

    else{
        double x1=(-1*b+sqrt(delta))/2*a;
        double x2= (-1*b-sqrt(delta))/2*a;
        cout.precision(10);
        cout<<2<<" "<<fixed<<x1<<" "<<fixed<<x2;
    }




    return 0;
}
