#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base ::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long a, b, c;
  cin >> a >> b >> c;
  cout << setprecision(6) << fixed;
  if (a == 0) {
    if (b == 0)
      cout << (c == 0 ? -1 : 0);
    else
      cout << "1\n" << -(long double)c / b;
  } else {
    long double d = b * b - 4 * a * c;
    if (d > 0)
      cout << "2\n"
           << (-b - sqrt(d)) / (a << 1) << '\n'
           << (-b + sqrt(d)) / (a << 1);
    else if (d == 0)
      cout << "1\n" << -(long double)b / (a << 1);
    else
      cout << 0;
  }
  return 0;
}
