#include <bits/stdc++.h>
using namespace std;
int main() {
  double a, b, c, d, x1, x2;
  cin >> a >> b >> c;
  if ((a == 0) && (b == 0) && (c == 0)) {
    cout << -1;
    goto l;
  }
  if ((a == 0) && (b == 0)) {
    cout << 0;
    goto l;
  }
  if (a == 0) {
    cout << "1\n";
    printf("%.6f", -c / b);
    goto l;
  }
  if (b * b - 4 * a * c < 0) {
    cout << 0;
    goto l;
  }
  d = sqrt(b * b - 4 * a * c);
  x1 = (-b - d) / (2 * a);
  x2 = (-b + d) / (2 * a);
  if (d == 0) {
    cout << "1\n";
    printf("%.6f", x1);
    goto l;
  }
  cout << "2\n";
  printf("%.6f", min(x1, x2));
  printf("\n%.6f", max(x2, x1));
l:;
}
