1. Assign xk to m, where M=xk,
2. Assign m to x5, where x5=M=xk,
3. Assign x5 to xk, or x5=M=xk.
Finally, x5, m and xk are all equal to the original value of xk, and cannot be interchanged.