#include <bits/stdc++.h>
#pragma comment(linker, "/STACK:16777216")
using namespace std;
const long long INF = 1000 * 1000 * 1000;
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  if (a == 0 && b == 0 && c == 0) {
    cout << -1;
    return 0;
  }
  if (a == 0 && b == 0) {
    cout << 0;
    return 0;
  }
  if (a == 0) {
    printf("1\n%.10f", -c / (double)b);
    return 0;
  }
  int d = b * b - 4 * a * c;
  if (d < 0) {
    cout << 0;
    return 0;
  }
  if (d == 0) {
    double x = -b / 2.0;
    printf("1\n%.10f", x);
    return 0;
  }
  cout << 2 << endl;
  printf("%.10f\n%.10f", (-b - d) / 2.0, (-b + d) / 2.0);
  return 0;
}
