Show that removing an inversion (p(i),p(i+1)) by interchanging p(i) and p(i+1) results in a decrease

Show that removing an inversion (π(i),π(i+1)) by interchanging π(i) and π(i+1) results in a decrease of exactly 1 in the total number of inversionsin π.