#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int a, b, c;
  cin >> a >> b >> c;
  long long int d = b * b - 4 * a * c;
  if (a == 0) {
    if (b == 0) {
      if (c == 0)
        cout << 0 << endl;
      else
        cout << -1 << endl;
    } else
      cout << 1 << endl << fixed << setprecision(6) << -c / b << endl;
  }
  if (d == 0) {
    cout << 1 << endl;
    cout << fixed << setprecision(6) << (float)-b / 2 * a << endl;
  } else {
    if (d < 0)
      cout << 0 << endl;
    else {
      cout << 2 << endl;
      float x = (-b - d) / (2 * a);
      cout << fixed << setprecision(6) << x << endl;
      cout << fixed << setprecision(6) << (float)(-b + d) / (2 * a) << endl;
    }
  }
}
