#include <bits/stdc++.h>
using namespace std;
void solve(int n, unsigned long long int s[], unsigned long long int p[]);
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  unsigned long long int t = 1;
  while (t--) {
    double a, b, c;
    cin >> (a) >> b >> c;
    if (a == 0 and b == 0 and c == 0) {
      cout << ("-1");
      return 0;
    } else if (a == 0 and b != 0) {
      cout << "1"
           << "\n";
      cout << fixed << setprecision(12) << (-c / b);
      return 0;
    } else if (a == 0 and b == 0) {
      cout << ("0");
      return 0;
    }
    double d = (b * b) - 4 * a * c;
    if (d == 0) {
      cout << "1"
           << "\n";
      cout << fixed << setprecision(12) << (-b / (2 * a));
    } else if (d < 0) {
      cout << ("0");
    } else {
      cout << "2"
           << "\n";
      cout << fixed << setprecision(12)
           << min(((-b + d) / (2 * a)), ((-b - d) / (2 * a))) << "\n";
      cout << fixed << setprecision(12)
           << max(((-b + d) / (2 * a)), ((-b - d) / (2 * a)));
    }
  }
  return 0;
}
