Original: It was released as the lead single for Rihanna 's third studio album , Good Girl Gone Bad .
Simplified: It was written by Jay-Z , Terius Nash and Christopher Stewart .