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