#include <bits/stdc++.h>
int main() {
  long a, b, c;
  long long d;
  scanf("%ld%ld%ld", &a, &b, &c);
  if (a == 0) {
    if (b == 0 && c == 0)
      printf("-1\n");
    else if (b == 0 && c != 0)
      printf("0\n");
    else if (b != 0)
      printf("1\n%.10lf\n", double(-c) / b);
  } else {
    d = b * b - 4 * a * c;
    if (d == 0)
      printf("1\n%.10lf\n", double(-b) / 2);
    else if (d > 0)
      printf("2\n%.10lf\n%.10lf\n", double(-b - sqrt(d)) / (2 * a),
             double(-b + sqrt(d)) / (2 * a));
    else
      printf("0\n");
  }
  return 0;
}
