Exercise on complex numbers