Question: American rapper Nicki Minaj has participated in which 2014 American comedy film alongside Cameron Diaz?
Sentence (from "Out of My Mind (B.o.B song)"): The song was primarily written by B.o.B, Nicki Minaj, DJ Frank E and Alex da Kid.
Relevant evidence: No