Can some one help me on this difficult q. Spent ages trying and cant get it, thanks in advance

Suppose that f is an entire function such that f(z) = f(z + 2pie) and

f(z) = f(z +2ipie) for all z ∈ C. Use Liouville’s theorem to show that f is

constant.

Hint: Consider the restriction of f to suitable squares.