#include <bits/stdc++.h>
using namespace std;
int main() {
  double a, b, c, root1, root2;
  cin >> a >> b >> c;
  double disc = b * b - 4 * a * c;
  if (a != 0) {
    if (disc < 0) {
      cout << 0;
    }
    if (disc == 0) {
      root1 = (-1 * b) / (2 * a);
      cout << 1 << " " << root1;
    }
    if (disc > 0) {
      root1 = (-1 * b - sqrt(disc)) / (2 * a);
      root2 = (-1 * b + sqrt(disc)) / (2 * a);
      cout << 2 << " " << root1 << " " << root2;
    }
  }
  if (a == 0) {
    if (b == 0) {
      if (c == 0)
        cout << -1;
      else
        cout << 0;
    } else {
      root1 = -1 * c / b;
      cout << 1 << " " << root1;
    }
  }
}
