#include <iostream>
#include <cmath>
#include <conio.h>
#include <stdio.h>

using namespace std;

int main()
{
        double A, B, C;
        int k = 0;
        double X1 = 0, X2 = 0;
        cin >> A >> B >> C;
        double D;
        D = B * B - 4 * A * C;
        if (D < 0) {
            k = 0;
        } else if (D >= 0 && A != 0){
               k = 2;
               X1 = (-B - pow(D, 0.5)) / (2 * A);
               X2 = (-B + pow(D, 0.5)) / (2 * A);
               } else if (A == 0 && B != 0 && C != 0){
                      k = 1;
                      X1 = -C / B;
                      } else if (A == 0 && B != 0 && C == 0){
                             k = 1;
                             X1 = 0;
                             } else if (A == 0 && B == 0 && C == 0){
                                    k = -1;
                                    } else if (A == 0 && B == 0 && C != 0){
                                           k = 0;
                                           }
        cout << k << endl;
        if (k == 2 && X1 != X2){
              printf("%0.10f", X1);
              cout << endl;
              printf("%0.10f", X2);
           } else if (k == 2 && X1 == X2){
                   printf("%0.10f", X1);
                  } else if (k == 1){
                          printf("%0.10f", X1);
                         }
           //system("pause");
}
