#include <bits/stdc++.h>
using namespace std;
double a, b, c;
int main() {
  cin >> a >> b >> c;
  if (a == 0) {
    if (b == 0 && c == 0)
      cout << -1;
    else if (b == 0)
      cout << 0;
    else
      printf("1\n%.5f", -c / b);
    return 0;
  }
  if (b == 0 & c == 0 && a != 0) {
    cout << 1 << endl << "0.00000";
    return 0;
  }
  double derta = b * b - 4 * a * c;
  if (derta < 0) {
    cout << 0;
    return 0;
  }
  double ans = -b / (2 * a);
  if (derta == 0) {
    printf("1\n%.5f", ans);
    return 0;
  }
  derta = sqrt(derta) / (2 * a);
  printf("2\n%.5f\n%.5f", ans - derta, ans + derta);
  return 0;
}
