#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e6 + 10;
int main() {
  int T;
  T = 1;
  while (T--) {
    long long a, b, c;
    cin >> a >> b >> c;
    if (a == 0 && b == 0 && c == 0) {
      printf("-1");
    } else if (b * b < 4 * a * c || (a == 0 && b == 0)) {
      printf("0");
    } else if (a == 0) {
      printf("1\n%.10f", 1.0 * -c / b);
    } else {
      double det = sqrt(1.0 * b * b - 4 * a * c);
      double x1 = (-det - b) / 2 / a;
      double x2 = (det - b) / 2 / a;
      if (x1 == 0) x1 = 0;
      if (x2 == 0) x2 = 0;
      if (b * b == 4 * a * c) {
        cout << 1 << endl;
        printf("%.10f", x1);
      } else {
        cout << 2 << endl;
        printf("%.10f\n%.10f", x1, x2);
      }
    }
  }
}
