#include <bits/stdc++.h>
int main() {
  int a, b, c;
  scanf("%d %d %d", &a, &b, &c);
  int delta = b * b - ((a * c) << 2), den = a << 1;
  if (b == 0 && den == 0) {
    putchar('-');
    putchar('1');
  } else if (delta > 0) {
    if (den == 0) {
      putchar('-');
      putchar('1');
    } else
      printf("2\n%.5f\n%.5f", ((double)(-b) - (double)delta) / (double)den,
             ((double)(-b) + (double)delta) / (double)den);
  } else if (delta == 0) {
    if (den == 0) {
      putchar('-');
      putchar('1');
    } else
      printf("1\n%.5f", (double)(-b) / (double)den);
  } else if (delta < 0) {
    putchar('0');
  }
  return 0;
}
