Facts you must check you know/you can prove:

1) Every permutation can be written as a product of disjoint cycles

2) The order of a permutation is the lowest common multiple of the orders (=lengths) of the cycles appearing in its decomposition in disjoint cycles.

From here the solution follows at once.

Tonio