2 words across 2 languages descend from English S&M — including SM, SM.
See the etymology of S&M itself →