The song was written by frontman Adam Levine and produced by producer Robert `` Mutt '' Lange . The song is a ballad and was written by frontman Adam Levine and produced by Robert John `` Mutt '' Lange .