 In 2011 , " S & M " was featured at the beginning of the seventeenth episode of the American police procedural drama TV series , Hawaii Five @-@ 0 . Lee Latchford @-@ Evans of the British group Steps covered the song as part of a medley with Maroon 5 and Christina Aguilera 's song " Moves like Jagger " in his solo section of The Ultimate Tour ( 2012 ) . In the 2012 musical comedy film Pitch Perfect , " S & M " was sung a cappella by Ester Dean , Alexis Knapp , Anna Kendrick , Rebel Wilson , Anna Camp and Brittany Snow . The ensemble 's performance of the song appears on the film 's soundtrack as part of a medley , " Riff Off " . " Riff Off " was released as a single in 2012 and reached number 86 on the US Billboard Hot 100 chart . The soundtrack also became the number one album on the US Top Soundtracks . 
