Question: When I was Your Man was written by Bruno Mars on what album?
Sentence (from "Bruno Mars"): Peter Gene Hernandez (born October 8, 1985), known professionally as Bruno Mars ( ), is an American singer-songwriter, multi-instrumentalist, record producer, and choreographer.
Relevant evidence: Yes