#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  long long a, b, c;
  float x1, x2;
  cin >> a >> b >> c;
  if ((b * b - (4 * a * c)) < 0) {
    cout << 0;
    return 0;
  }
  if (a == 0 && b == 0 && c == 0) {
    cout << -1;
    return 0;
  } else if (a != 0) {
    x1 = (-b + sqrt(b * b - 4 * a * c)) / (a * 2);
    x2 = (-b - sqrt(b * b - 4 * a * c)) / (a * 2);
    if (x1 != x2)
      cout << 2 << "\n" << x2 << "\n" << x1;
    else
      cout << 1 << "\n" << x1;
  } else {
    x1 = (-1.0 * c) / b;
    cout << 1 << "\n" << x1;
  }
  return 0;
}
