#include <bits/stdc++.h>
using namespace std;
void solve() {
  int a, b, c;
  scanf("%d%d%d", &a, &b, &c);
  if (a == 0) {
    if (b == 0)
      printf("-1\n");
    else
      printf("%.5lf", -1.0 * c / b);
  } else {
    int delta = b * b - 4 * a * c;
    if (delta == 0)
      printf("1\n%.5lf\n", (-b + sqrt((double)delta)) / (2 * a));
    else if (delta > 0)
      printf("2\n%.5lf\n%.5lf\n", (-b - sqrt(delta)) / (2 * a),
             (-b + sqrt(delta)) / (2 * a));
    else
      printf("0\n");
  }
}
int main() {
  solve();
  return 0;
}
