#include <iostream>
#include <complex>
int main()
{
std::complex<double> a = 3.0;
std::complex<double> b = 2.0;
std::complex<double> c = 1.0;
std::complex<double> d = sqrt(pow(b,2)- 4.0*a*c);
std::cout << "The answers are "
<< (-b + d)/(2.0*a) << " and "
<< (-b - d)/(2.0*a) << '\n';
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8Y29tcGxleD4KCmludCBtYWluKCkKewogICAgc3RkOjpjb21wbGV4PGRvdWJsZT4gYSA9IDMuMDsKICAgIHN0ZDo6Y29tcGxleDxkb3VibGU+IGIgPSAyLjA7CiAgICBzdGQ6OmNvbXBsZXg8ZG91YmxlPiBjID0gMS4wOwoKICAgIHN0ZDo6Y29tcGxleDxkb3VibGU+IGQgPSBzcXJ0KHBvdyhiLDIpLSA0LjAqYSpjKTsKICAgIHN0ZDo6Y291dCA8PCAiVGhlIGFuc3dlcnMgYXJlICIKICAgICAgICAgICAgICA8PCAoLWIgKyBkKS8oMi4wKmEpIDw8ICIgYW5kICIgCiAgICAgICAgICAgICAgPDwgKC1iIC0gZCkvKDIuMCphKSA8PCAnXG4nOwp9Cg==