#include <bits/stdc++.h>
using namespace std;
int main() {
  double A, B, C;
  scanf("%lf%lf%lf", &A, &B, &C);
  if (A == B && B == C && C == 0) {
    puts("-1");
    return 0;
  }
  if (A == 0 && B != 0) {
    printf("1\n%lf", -C / B);
    return 0;
  }
  if (A == 0 && B == 0 && C != 0) {
    puts("0");
    return 0;
  }
  if (A != 0 && B == 0) {
    printf("2\n-%lf\n%lf", sqrt(-C / A), sqrt(-C / A));
    return 0;
  }
  if (B * B - 4 * A * C < 0) {
    puts("0");
    return 0;
  }
  double D = sqrt(B * B - 4 * A * C);
  if (D > 0) {
    printf("2\n%lf\n%lf", (-B - D) / (2 * A), (-B + D) / (2 * A));
    return 0;
  }
  if (!D) {
    printf("1\n%lf", (-B) / (2 * A));
    return 0;
  }
  return 0;
}
