#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  while (cin >> a >> b >> c) {
    int x = (b * b - 4 * a * c);
    if (a == 0) {
      printf("0\n");
    } else if (x < 0) {
      printf("-1\n");
    } else if (x == 0) {
      printf("1\n%.5f\n", ((-1.0) * b) / (2.0 * a));
    } else {
      x = sqrt(x);
      printf("2\n%.5f\n%.5f\n", min((-b + x) / (2.0 * a), (-b - x) / (2.0 * a)),
             max((-b + x) / (2.0 * a), (-b - x) / (2.0 * a)));
    }
  }
  return 0;
}
