#include <bits/stdc++.h>
using namespace std;
char s[1010];
int main() {
  int a, b, c;
  int n;
  cin >> a >> b >> c;
  if (a == 0 && b == 0) {
    cout << -1 << endl;
    return 0;
  }
  int z;
  z = b * b - 4 * a * c;
  if (z < 0) {
    cout << 0 << endl;
    return 0;
  } else if (z == 0) {
    cout << 1 << endl;
    double ans;
    ans = (-b + (sqrt(b * b - 4 * a * c))) / (2 * a);
    cout << setprecision(5) << ans << endl;
    return 0;
  } else {
    cout << 2 << endl;
    double ans1, ans2;
    ans1 = (-b + (sqrt(b * b - 4 * a * c))) / (2 * a);
    ans2 = (-b - (sqrt(b * b - 4 * a * c))) / (2 * a);
    if (ans1 < ans2) {
      printf("%.10lf\n%.10lf\n", ans1, ans2);
    } else {
      printf("%.10lf\n%.10lf\n", ans2, ans1);
    }
  }
  return 0;
}
