#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  scanf("%d %d %d", &a, &b, &c);
  int D = b * b - 4 * a * c;
  if ((a == 0) && (b == 0)) {
    puts(c == 0 ? "-1" : "0");
    return 0;
  }
  if (a == 0) {
    printf("1\n%f", float(-c) / b);
    return 0;
  }
  if (D < 0) printf("0");
  if (D == 0) printf("1\n%f", (-float(b) + sqrt(D)) / (2 * a));
  if (D > 0)
    printf("2\n%f %f", (-float(b) - sqrt(D)) / (2 * a),
           (-float(b) + sqrt(D)) / (2 * a));
  return 0;
}
