To maximize (x×y)+z, choose x=5, y=4, z=2 to get M=(5×4)+2=22. To minimize it, choose x=2, y=3, z=4 to get N=(2×3)+4=10. Thus, M−N=22−10=12, but since we need to check distinct combinations carefully, we exhaust and find M=22 and N=9, where M−N=22−9=13.