#include <bits/stdc++.h>
using namespace std;
int main() {
  long long a, b, c;
  cin >> a >> b >> c;
  long long sq = b * b - 4 * a * c;
  if (a == 0 && b == 0) {
    if (c)
      cout << 0 << endl;
    else
      cout << -1 << endl;
  } else if (a == 0) {
    cout << 1 << endl;
    printf("%.10lf\n", -1.0 * c / b);
  } else if (sq < 0)
    cout << 0 << endl;
  else if (sq == 0) {
    cout << 1 << endl;
    printf("%.10lf\n", -b / (2.0 * a));
  } else {
    cout << 2 << endl;
    double r1 = (-b - sqrt(sq)) / (2 * a);
    double r2 = (-b + sqrt(sq)) / (2 * a);
    printf("%.10lf\n", r1);
    printf("%.10lf\n", r2);
  }
}
