#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  if (a != 0) {
    int d = b * b - 4 * a * c;
    if (d < 0)
      cout << 0 << endl;
    else {
      int i;
      for (i = 0; i <= 1000000; i++) {
        if (i * i == d) {
          double x1, x2;
          x1 = (-1 * b + i) / (2 * a);
          x2 = (-1 * b - i) / (2 * a);
          if (x1 != x2) {
            cout << 2 << endl;
            if (x1 < x2)
              printf("%.10lf\n%.10lf\n", x1, x2);
            else
              printf("%.10lf\n%.10lf\n", x2, x1);
          } else {
            cout << 1 << endl;
            printf("%.10lf\n", x1);
          }
          break;
        }
      }
    }
  } else {
    if (c == 0)
      cout << -1 << endl;
    else {
      double root;
      root = (double)(-1 * c) / (double)b;
      cout << 1 << endl;
      printf("%.10lf\n", root);
    }
  }
  return 0;
}
