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