#include <bits/stdc++.h>
using namespace std;
int a, b, c;
long long s;
double m, n, h;
int main() {
  scanf("%d%d%d", &a, &b, &c);
  s = b * b - 4 * a * c;
  m = (double)(-b + sqrt(s)) / (2 * a);
  n = (double)(-b - sqrt(s)) / (2 * a);
  h = -(double)c / b;
  if (a == 0) {
    if (b != 0) {
      printf("1\n");
      printf("%.8f", h);
    } else {
      if (c != 0) {
        printf("0\n");
      } else {
        printf("-1\n");
      }
    }
  } else {
    if (s == 0) {
      printf("1\n");
      printf("%.8f\n", m);
    } else {
      if (s > 0) {
        printf("2\n");
        printf("%.8f\n", min(m, n));
        printf("%.8f\n", max(m, n));
      } else {
        printf("0\n");
      }
    }
  }
  return 0;
}
