#include <bits/stdc++.h>
using namespace std;
int main() {
  double A, B, C, x1, x2, num;
  cin >> A >> B >> C;
  if (A == 0 && B == 0 && C == 0)
    cout << "-1" << endl;
  else if (A == 0 && B == 0 && C != 0)
    cout << "0" << endl;
  else if (A == 0 && C == 0 && B != 0)
    cout << "1" << endl,
        cout << setiosflags(ios::fixed) << setprecision(10) << "0" << endl;
  else {
    num = B * B - 4 * A * C;
    if (num > 0) {
      x1 = (-B - sqrt(num)) / (2 * A);
      cout << "2" << endl;
      cout << setiosflags(ios::fixed) << setprecision(10) << x1 << endl;
      cout << setiosflags(ios::fixed) << setprecision(10)
           << (-B + sqrt(num)) / (2 * A) << endl;
    } else if (num == 0) {
      cout << "1" << endl;
      x1 = -B / (2 * A);
      cout << setiosflags(ios::fixed) << setprecision(10) << x1 << endl;
    } else
      cout << "0" << endl;
  }
  return 0;
}
