Can somebody help me with this proof please?

Suppose that G is a group with elements a and b of orders p and q respectively, where p and q are distinct primes.

Suppose also that for some integers i and j, that a^i = b^j. Show that p|i and q|j.

Thanks in advance.