Entire function



Let f be entire such that f(z) is real when z is real, and f(z) is imaginary when z is imaginary. Prove that
f(-z)=-f(z).
.