#include #include #include #include #include #include #include #include #include #include #include #include #include #define all(x) (x).begin(),(x).end() #define rall(x) (x).rbegin(),(x).rend() using namespace std; typedef long long ll; typedef pair pi; typedef pair pl; typedef pair pls; ll ans[5]; int main() { ll a, b, c; cin >> a >> b >> c; int j = 0; for (ll i = -1000000; i <= 1000000; i++) { if (((i*i*i) + a*(i*i) + b*i + c)== 0) { ans[j++] = i; } } sort(ans, ans + 3); cout << ans[0] << " " << ans[1] << " " << ans[2] << endl; return 0; }