#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define REP(i,n) for(int i=0; i=b; --i) #define ALL(c) (c).begin(), (c).end() typedef long long ll; typedef vector VI; typedef vector VL; typedef vector VVI; typedef vector VVL; typedef pair P; typedef pair PL; double a, b, c; VI ans; double f(double x){ return a*x*x + b*x + c; } void calc(double l, double r){ double ll = l, rr = r; if (f(l)*f(r) > 0) return; REP(_,100){ double m = (l+r)/2; if (f(m) * f(r) > 0) r = m; else l = m; } ans.push_back(round(l)); calc(ll, l-0.5); calc(l+0.5, rr); } int main(){ cin >> a >> b >> c; calc(-1e18, 1e18); sort(ALL(ans)); REP(i,ans.size()){ cout << ans[i] << " "; } cout << endl; return 0; }