#include #include #include using namespace std; typedef long double ld; int main(){ cout << fixed << setprecision(15); ld a, b, c; cin >> a >> b >> c; if(a == 0){ if(b == 0){ cout << (c==0 ? -1 : 0) << endl; }else{ cout << 1 << endl << -c/b << endl; } }else{ ld d = b*b-4*a*c; if(d < 0){ cout << 0 << endl; }else if(d == 0){ cout << 1 << endl << -b/a/2 << endl; }else{ ld f = sqrt(d); cout << 2 << endl; cout << (-b-f)/a/2 << endl; cout << (-b+f)/a/2 << endl; } } return 0; }