#include <bits/stdc++.h>
using namespace std;
int main() {
  float a, b, c;
  cin >> a >> b >> c;
  if (a == 0 && b == 0 && c == 0)
    cout << -1;
  else if (b * b - 4 * a * c < 0)
    cout << 0;
  else if (a == 0) {
    cout << 1 << endl;
    float x = -(c / b);
    printf("%.5f", x);
  } else {
    float x = ((-b) + sqrt(b * b - 4 * a * c)) / (2 * a);
    float y = ((-b) - sqrt(b * b - 4 * a * c)) / (2 * a);
    if (x == y) {
      cout << 1 << endl;
      printf("%.5f", x);
    } else {
      cout << 2 << endl;
      if (x > y) swap(x, y);
      printf("%.5f", x);
      cout << endl;
      printf("%.5f", y);
    }
  }
}
