#include <bits/stdc++.h>
int main() {
  long long a, b, c, m;
  float r, s;
  scanf("%lld %lld %lld", &a, &b, &c);
  m = pow(b, 2) - (4 * a * c);
  if (a == 0 && b == 0) {
    if (c == 0)
      printf("%d", -1);
    else
      printf("%lld", c);
  } else if (m == 0) {
    r = -(1 * b) / (2 * a);
    printf("%d\n%f", 1, r);
  } else if (m < 0) {
    printf("%d", 0);
  } else if (m > 0) {
    r = ((-1 * b) - pow(m, 0.5)) / 2 * a;
    s = ((-1 * b) + pow(m, 0.5)) / 2 * a;
    printf("%d\n%f\n %f", 2, r, s);
  }
  return 0;
}
