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