#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cout << setprecision(10);
  long double a, b, c;
  cin >> a >> b >> c;
  if (a == 0 and b == 0 and c == 0) {
    cout << -1;
    return 0;
  }
  if (a == 0) {
    cout << 1 << endl;
    cout << -c / b;
    return 0;
  }
  long double foo = b * b - 4 * a * c;
  if (foo < 0) {
    cout << 0;
    return 0;
  } else if (foo == 0) {
    cout << 1 << endl;
    cout << -b / 2 * a;
  } else if (foo > 0) {
    cout << 2 << endl;
    long double f1 = (-b + sqrt(foo)) / 2 * a;
    long double f2 = (-b - sqrt(foo)) / 2 * a;
    cout << min(f1, f2);
    cout << endl << max(f1, f2);
  }
}
