#include <bits/stdc++.h>
using namespace std;
long double a, b, c;
int main() {
  cin >> a >> b >> c;
  if (a == 0 && b == 0 && c == 0) return cout << -1, 0;
  if (a == 0 && b == 0 && c != 0) return cout << 0, 0;
  if (a == 0) return cout << 1 << endl << fixed << setprecision(9) << -c / b, 0;
  long double delta = b * b - 4 * a * c;
  if (delta < 0) return cout << 0, 0;
  if (delta == 0)
    return cout << 1 << endl << fixed << setprecision(9) << -b / 2 * a, 0;
  if (a < 0)
    return cout << 2 << endl
                << fixed << setprecision(9) << (-b + sqrt(delta)) / 2 * a
                << endl
                << (-b - sqrt(delta)) / 2 * a,
           0;
  if (a > 0)
    return cout << 2 << endl
                << fixed << setprecision(9) << (-b - sqrt(delta)) / 2 * a
                << endl
                << (-b + sqrt(delta)) / 2 * a,
           0;
}
