Example
Let g be the permutation

Then g in cycle notation is

Hence the sign of g is