#include using namespace std; using ll = long long; int main() { ll a, b, c; cin >> a >> b >> c; if (a == 0) { if (b == 0) { if (c == 0) printf("-1\n"); else printf("0\n"); } else printf("1\n%.15f\n", (double)-c / b); } else { ll d = b * b - 4 * a * c; if (d < 0) printf("0\n"); else if (d == 0) printf("1\n%.15f\n", (double)-b / (2 * a)); else { double s1; if (0 < b) s1 = (-b - sqrt(d)) / 2 * a; else s1 = (-b + sqrt(d)) / 2 * a; double s2 = c / (s1 * a); printf("2\n%.15f\n%.15f\n", min(s1, s2), max(s1, s2)); } } }