#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  if (a == 0) {
    if (b == 0 && c != 0) cout << 0 << endl;
    if (b == 0 && c == 0) cout << -1 << endl;
    if (b != 0 && c == 0) cout << 1 << endl << "0,0000000000" << endl;
    if (b != 0 && c != 0) {
      float x = (float)c / b;
      printf("%3.10f\n", x);
    }
  } else {
    float x, y;
    if (b * b - 4 * a * c < 0) cout << 0 << endl;
    if (b * b == 4 * a * c) {
      cout << 1 << endl;
      x = (float)-b / (2 * a);
      printf("%3.10f\n", x);
    }
    if (b * b - 4 * a * c > 0) {
      cout << 2 << endl;
      x = (float)(-b + (float)sqrt(b * b - 4 * a * c)) / (2 * a);
      y = (float)(-b - (float)sqrt(b * b - 4 * a * c)) / (2 * a);
      if (x < y) {
        printf("%3.10f\n", x);
        printf("%3.10f \n", y);
      }
      if (y < x) {
        printf("%3.10f\n", y);
        printf("%3.10f\n", x);
      }
    }
  }
  return 0;
}
