#include <bits/stdc++.h>
using namespace std;
int delta(int a, int b, int c) { return b * b - 4 * a * c; }
void Solved(int a, int b, int c) {
  if (delta(a, b, c) == 0)
    printf("1\n%.5f", (float)(-b / (2 * a)));
  else if (delta(a, b, c) > 0) {
    float x1, x2;
    cout << 2 << endl;
    x1 = (float)(-b + sqrt(delta(a, b, c))) / (2 * a);
    x2 = (float)(-b - sqrt(delta(a, b, c))) / (2 * a);
    if (x1 <= x2)
      printf("%.5f\n%.5f", x1, x2);
    else
      printf("%.5f\n%.5f", x2, x1);
  } else
    cout << 0;
}
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  if (a == 0 && b == 0 && c == 0)
    cout << -1;
  else if (a == 0 && b == 0)
    cout << -1;
  else if (a == 0 && c == 0)
    cout << 0;
  else if (a == 0)
    printf("1\n%.5f", ((float)-c / (float)b));
  else
    Solved(a, b, c);
  return 0;
}
