#include <bits/stdc++.h>
int a, b, c;
void solver() {
  if (a == 0 && b != 0) {
    printf("1\n%.5f\n", (-c / (float)b));
    return;
  }
  if (a == 0 && b == 0) {
    printf("-1\n");
    return;
  }
  if (a != 0 && b != 0 && c == 0) {
    float valor = -b / (float)a;
    printf("2\n");
    if (valor < 0)
      printf("%.5f\n%.5f\n", valor, 0.0);
    else
      printf("%.5f\n%.5f\n", 0.0, valor);
    return;
  }
  if (a * b * 4 > b * b && a * b < 0) {
    printf("0\n");
    return;
  }
  if (a * b * 4 == b * b && c != 0) {
    printf("1\n%.5f\n", (-b / (float)(2 * a)));
    return;
  }
  float discriminante = sqrt(b * b - 4 * a * c);
  float v1 = (-b - discriminante) / (float)(2 * a);
  float v2 = (-b + discriminante) / (float)(2 * a);
  if (v1 < v2)
    printf("2\n%.5f\n%.5f\n", v1, v2);
  else {
    if (v1 != v2)
      printf("2\n%.5f\n%.5f\n", v2, v1);
    else
      printf("1\n%.5f\n", v1);
  }
}
int main() {
  while (scanf("%d %d %d", &a, &b, &c) != EOF) solver();
  return 0;
}
