#include <bits/stdc++.h>
using namespace std;
int main() {
  double a, b, c;
  cin >> a >> b >> c;
  double temp = b * b - 4 * a * c;
  if (!a && !b)
    cout << -1 << endl;
  else if (temp < 0)
    cout << 0 << endl;
  else if (!a) {
    double ans = c / b;
    cout << 1 << endl;
    cout << setprecision(10) << fixed << ans << endl;
  } else {
    cout << 2 << endl;
    double ans1 = (-b - sqrt(temp)) / (a * 2);
    double ans2 = (-b + sqrt(temp)) / (a * 2);
    ans1 = min(ans1, ans2);
    ans2 = max(ans1, ans2);
    cout << setprecision(10) << fixed << ans1 << endl;
    cout << setprecision(10) << fixed << ans2 << endl;
  }
  return 0;
}
