struct cplx {
    double re, im;
    cplx(double _re = 0, double _im = 0) : re(_re), im(_im) {}
};


ostream& operator << (ostream& kam, cplx z)
{
    return kam << "(" << z.re << ", " << z.im << ")";
}


cplx z(4.123456,3.45678901);


cout << z << endl;
