"Like a Prayer" is a song by American singer Madonna, from her fourth studio album of the same name.
 Sire Records released it as the album's lead single on March 3, 1989.
 Written and produced by Madonna and Patrick Leonard, the track denoted a more artistic and personal approach to songwriting for Madonna, who believed that she needed to cater more to her adult audience.
 The song is about a passionate young girl in love with God, who becomes the only male figure in her life.
"Love Will Never Do (Without You)" is a song recorded by American singer Janet Jackson, recorded for her fourth studio album "Janet Jackson's Rhythm Nation 1814" (1989).
 It was written and produced by Jimmy Jam and Terry Lewis.
 The song was released as the seventh single from the album on October 2, 1990, by A&M Records.
 It topped the "Billboard" Hot 100 chart for one week and the "Radio & Records" airplay chart for three weeks.
"Little Green Apples" is a song written by Bobby Russell.
 Originally written for and released by American recording artist Roger Miller in 1968, it also was released as a single by American recording artists Patti Page and O. C. Smith in separate occasions that same year.
 Miller's version became a Top 40 hit on the "Billboard" Hot 100 chart and on the UK Singles Chart, while Page's version became her last Hot 100 entry and Smith's version became a No. 2 hit on the "Billboard" Hot 100 chart.
 The song earned Russell two Grammy Awards for Song of the Year and Best Country Song.
 In 2013, "Little Green Apples" was covered by English recording artist Robbie Williams featuring American recording artist Kelly Clarkson, which became a top 40 hit in Mexico.
"Let Me See Ya Girl" is a song co-written and recorded by American country music artist Cole Swindell.
 It was released to country radio in April 2015 as the fourth and final single from his self-titled debut album.
 "Let Me See Ya Girl" reached numbers 2 and 9 on both the "Billboard" Country Airplay and Hot Country Songs charts respectively.
 It also peaked at number 59 on the Hot 100 chart.
 The song was certified Gold by the Recording Industry Association of America (RIAA), and has sold 282,000 units in the United States as of October 2015.
 It achieved similar chart success in Canada, peaking at number 8 on the Country chart and number 99 on the Canadian Hot 100 chart.
"I Got You Babe" is a song written by Sonny Bono.
 It was the first single taken from the debut studio album "Look at Us", of the American pop music duo Sonny & Cher.
 In August 1965, their single spent three weeks at number 1 on the "Billboard" Hot 100 in the United States where it sold more than 1 million copies and was certified Gold.
 It also reached number 1 in the United Kingdom and Canada.
 In 1985, a cover version of "I Got You Babe" by British reggae/pop band UB40 featuring American singer Chrissie Hynde, peaked at number one in the UK Singles Chart and reached number 28 on the US "Billboard" Hot 100 chart.
 A 1993 version by Cher with Beavis and Butt-Head bubbled under the Hot 100 chart.
American singer Madonna has released 83 singles and 16 promotional singles, and charted with 14 other songs.
 In 1982, she signed a contract with Sire Records and Warner Bros.
 Records, and released her first two singles before launching her eponymous debut album.
 Her first entry on the US "Billboard" Hot 100 was "Holiday" (1983), which peaked at number 16.
 The following year, Madonna released "Like a Virgin", which reached number one in Australia, Canada and the US; in the latter it spent six weeks atop the chart.
 The album "Like a Virgin" spawned three other top five singles: "Material Girl", "Angel", and "Dress You Up".
 In 1985, Madonna released her second US number-one single, "Crazy for You", and her first UK number-one single, "Into the Groove", both from feature film soundtracks.
 The following year, her third studio album "True Blue" gave her three number-one singles: "Live to Tell", "Papa Don't Preach", and "Open Your Heart".
 Two other singles from the album, "True Blue" and "La Isla Bonita", were top-five hits.
 In 1987, she scored another number-one single with "Who's That Girl".
 The title track from Madonna's fourth studio album, "Like a Prayer" (1989), was her seventh single to top the Hot 100 chart, making her the female artist with the most number-one singles in the 1980s (shared with Whitney Houston).
Bubbling Under Hot 100 Singles (also known as Bubbling Under the Hot 100) is a chart published weekly by "Billboard" magazine in the United States.
 The chart lists the top singles that have not yet charted on the main "Billboard" Hot 100.
 Chart rankings are based on radio airplay and sales.
 In its initial years, the chart listed 15 positions, but expanded to as many as 36 during the 1960s, particularly during years when over 700 singles made the "Billboard" Hot 100 chart.
 From 1974 to 1985, the chart consisted of 10 positions; since 1992, the Bubbling Under Hot 100 Singles chart has listed 25 positions.
"Her Town Too" is a song written by James Taylor, J.D. Souther and Waddy Wachtel.
 It was first released as a duet between Taylor and Souther on Taylor's 1981 album "Dad Loves His Work".
 It was also released as a single in 1981, peaking at #11 on the "Billboard" Hot 100.
 The song had entered the Hot 100 chart at #38, making it one of the few songs to enter the chart in the Top 40 but not reach the Top 10.
 As of 2014, it is Taylor's last single to reach the Top 40 of the "Billboard" Hot 100.
 "Her Town Too" also reached #5 on the "Billboard" Adult Contemporary chart and #21 on the Mainstream Rock chart.
"You Could Be Mine" is a song by American rock band Guns N' Roses, featured on their 1991 fourth studio album "Use Your Illusion II".
 It was released as the band's seventh single, and the first from the "Use Your Illusion" albums, in June 1991.
 Backed with "Civil War" from "Use Your Illusion II", the single reached number 29 on the "Billboard" Hot 100 chart and number three on the UK Singles Chart.
Midnight Madness is the second studio album from rock band Night Ranger released in 1983.
 Their second album produced three charting singles and contains the band's best known hit, "Sister Christian."
 It remains their highest selling album at over a million copies sold in the US.
 The first single/video, "(You Can Still) Rock in America" peaked at #51 in early 1984 on Billboard's Hot 100 chart and also reached #15 on Billboard's Mainstream Rock Tracks chart.
 "Sister Christian" peaked at #5 on Billboard's Hot 100 and was one of the most played videos of 1984.
 The song also has been featured in several films including "Boogie Nights" and "Rock of Ages" among others.
 "When You Close Your Eyes" was the third single/video and reached #14 on Billboard's Hot 100 chart and #7 on Billboard's Mainstream Rock Tracks Chart.
 The 1984 CD release contains a slightly different recording of the track.
 "Rumours In The Air" also charted on the Billboard Mainstream Rock chart peaking at #26 in the spring of 1984.

Question: Madonna's seventh single to top the Hot 100 chart was co-written by Madonna and who?
Answer: Patrick Leonard