#include <bits/stdc++.h>
using namespace std;
long long binarySearch(long long arr[], long long l, long long r, long long x) {
  if (r >= l) {
    long long mid = l + (r - l) / 2;
    if (arr[mid] == x) return mid;
    if (arr[mid] > x) return binarySearch(arr, l, mid - 1, x);
    return binarySearch(arr, mid + 1, r, x);
  }
  return -1;
}
long long fact(long long n) {
  if (n == 0 || n == 1)
    return 1;
  else
    return n * fact(n - 1);
}
long long ncr(long long n, long long r) {
  if (r == 0)
    return 1;
  else
    return (n * ncr(n - 1, r - 1)) / r;
}
long long gcd(long long a, long long b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
bool isPrime(int n) {
  if (n <= 1) return false;
  if (n <= 3) return true;
  if (n % 2 == 0 || n % 3 == 0) return false;
  for (int i = 5; i * i <= n; i = i + 6) {
    if (n % i == 0 || n % (i + 2) == 0) {
      return false;
    }
  }
  return true;
}
bool isPowerOfTwo(long long n) {
  if (n == 0) return false;
  return (ceil(log2(n)) == floor(log2(n)));
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long t;
  t = 1;
  while (t--) {
    double a, b, c;
    cin >> a >> b >> c;
    if (b * b - 4 * a * c < 0) cout << 0;
    if (b * b - 4 * a * c > 0 && a != 0) {
      double r = (-b + sqrt(b * b - 4 * a * c)) / (2 * a),
             s = (-b - sqrt(b * b - 4 * a * c)) / (2 * a);
      cout << 2 << endl;
      printf("%.6lf \n", ((s > r) ? r : s));
      printf("%.6lf", ((s > r) ? s : r));
    }
    if (b * b - 4 * a * c == 0 && a != 0) {
      cout << 1 << endl;
      printf("%.6lf", -b / (2 * a));
    }
    if (a == 0 && b == 0) cout << 0;
    if (a == 0 && b != 0) {
      cout << 1 << endl;
      printf("%.6lf", -c / b);
    }
    if (a == 0 && b == 0 && c == 0) cout << -1;
  }
  return 0;
}
