#include <iostream>                // Ex27
#include <cmath>                // needed to use routine sqrt (square root)
using namespace std;
struct complex {
    double re, im;                // real and imaginary Cartesian coordinates
    double abs() { return sqrt( re * re + im * im ); }
};
