class complex {

  num real=0;
  num imag=0;

  complex(num r,num i){
    this.real=r;
    this.imag=i;
  } 


  complex add(complex b){
    return new complex(this.real + b.real, this.imag + b.imag);
  }

  complex mult(complex b){