#include <bits/stdc++.h>
int main() {
  float a = 0, b = 0, c = 0, x = 0, y = 0, z = 0;
  scanf("%f %f %f", &a, &b, &c);
  if (a == 0 && b == 0 && c == 0)
    printf("-1");
  else if (b * b - 4 * a * c < 0 || (a == 0 && b == 0))
    printf("0");
  else if (a == 0) {
    printf("1\n");
    printf("%f", -c / b);
  } else if (b * b - 4 * a * c == 0) {
    printf("1\n");
    printf("%f", (-b / (2 * a)));
  } else {
    z = b * b - 4 * a * c;
    x = (-b - sqrt(z)) / (2 * a);
    y = (-b + sqrt(z)) / (2 * a);
    printf("2\n");
    printf("%f \n", x);
    printf("%f ", y);
  }
  return 0;
}
