#include <bits/stdc++.h>
using namespace std;
int main() {
  long long A, B, C;
  cin >> A >> B >> C;
  double x1, x2;
  if (A == 0 && B == 0 && C == 0)
    cout << -1 << endl;
  else if (A != 0) {
    if (pow(B * B - 4 * A * C, 0.5) > 0) {
      x1 = (-B - pow(B * B - 4 * A * C, 0.5) + 0.0) / (A * 2);
      x2 = (-B + pow(B * B - 4 * A * C, 0.5) + 0.0) / (2 * A);
      cout << 2 << endl;
      cout << min(x1, x2) << endl;
      cout << max(x1, x2) << endl;
    } else if (pow(B * B - 4 * A * C, 0.5) == 0) {
      x1 = (-B - pow(B * B - 4 * A * C, 0.5) + 0.0) / (A * 2);
      cout << 1 << endl << x1 << endl;
    } else
      cout << 0 << endl;
  } else if (A == 0) {
    if (B == 0)
      cout << 0 << endl;
    else
      cout << 1 << endl << (-C + 0.0) / B << endl;
  }
  return 0;
}
