#include <bits/stdc++.h>
using namespace std;
struct code {
  int num, id;
};
string a[200001];
int res = -1e9;
int cnt[1000001];
bool used[1000001];
int n;
int comp(code a, code b) {
  return a.num < b.num or (a.num == b.num and a.id < b.id);
}
int check(int a1, int b1, int a2, int b2, int a3, int b3) {}
int main() {
  int a, b, c;
  cin >> a >> b >> c;
  int d = b * b - 4 * a * c;
  if (d < 0) {
    cout << 0;
    return 0;
  }
  if (a == 0 and b == 0) {
    cout << -1;
    return 0;
  }
  if (a == 0) {
    printf("1\n");
    printf("%.10f", -c * 1.0 / b);
    return 0;
  }
  if (d == 0) {
    printf("1\n");
    printf("%.10f", (-b + sqrt(d)) * 1.0 / (2 * a));
    return 0;
  } else {
    printf("2\n");
    printf("%.10f\n", (-b - sqrt(d)) * 1.0 / (2 * a));
    printf("%.10f\n", (-b + sqrt(d)) * 1.0 / (2 * a));
    return 0;
  }
}
