paragraph_text: Ed Sheeran had the best - selling and streamed single of the year with ``Shape of You ''. The song spent twenty - two weeks in the top 10 (including fourteen weeks at number one), sold over 787,000 copies as well as scoring 248 million streams (3.2 million combined sales) and was certified 5x platinum by the BPI.`` Despacito'' by Luis Fonsi, Daddy Yankee & Justin Bieber came in second place with more than 2.3 million combined sales. Ed Sheeran's ``Castle on the Hill '',`` Unforgettable'' from French Montana featuring Swae Lee and ``Galway Girl ''by Ed Sheeran made up the top five. Songs by Ed Sheeran (`` Perfect''), Clean Bandit featuring Zara Larsson, Rag'n'Bone Man, The Chainsmokers & Coldplay and Jax Jones featuring RAYE were also in the top ten best - selling singles of the year.

paragraph_text: ``Perfect ''is a song by English singer - songwriter Ed Sheeran from his third studio album, ÷ (2017). After the album's release it charted at number four on the UK Singles Chart. On 21 August 2017, Billboard announced that`` Perfect'' would be the fourth single from the album. The song was serviced to pop radio on 26 September 2017, as the third single from the album in the United States (fourth overall). The song eventually reached number one on the UK Singles Chart and the US Billboard Hot 100 in December 2017. It also peaked at number one in sixteen other countries, including Australia, Canada, Ireland and New Zealand. A version of ``Perfect '', titled`` Perfect Duet'', with American singer Beyoncé was released on 1 December 2017. Another duet with Italian tenor Andrea Bocelli, titled ``Perfect Symphony '', was released on 15 December 2017.`` Perfect'' also became the UK Christmas number - one song for 2017.

paragraph_text: ``That's the Way I've Always Heard It Should Be ''is a 1971 song performed by Carly Simon. Her friend and frequent collaborator Jacob Brackman wrote the lyrics and Simon wrote the music. The song was released as the lead single from her self - titled debut album, Carly Simon, and it reached peak positions of number 10 on the Billboard Hot 100 chart and 6 on the Billboard Adult Contemporary chart.

paragraph_text: ``What Do You Mean? ''is a song recorded by Canadian singer Justin Bieber for his fourth studio album Purpose (2015). The song was released on August 28, 2015, as the album's lead single by Def Jam. Written by Bieber, Jason`` Poo Bear'' Boyd and Mason Levy, the song was produced by MdL and co-produced by Bieber. ``What Do You Mean? ''is a pop and tropical house song, with its instrumentation consisting in light flourishes of panpipes, looped vocal samples, piano chords, fervent synths, bass and`` slick beat'' elements with the sound of a clock ticking, while Bieber uses a smooth, soulful vocal. Lyrically, ``What Do You Mean? ''describes not being able to figure out the opposite sex with Bieber asking a girl why her body language is conflicting with her words.

paragraph_text: "Cross My Heart" is a 1966 song by Phil Ochs, an American singer-songwriter best known for the protest songs he wrote in the 1960s.

paragraph_text: ``Did It for the Girl ''is a song recorded by American country music artist Greg Bates. It was released in April 2012 as his debut single. Bates co-wrote the song with Lynn Hutton and Rodney Clawson.

paragraph_text: Thomas Troelsen (born 6 October 1981) is a Danish singer, songwriter, and producer from Skive. Troelsen has written and produced songs for Pitbull, Flo Rida, Justin Bieber, David Guetta, Lil Wayne, Nile Rodgers, Jason Derulo, Charlie Puth, Chris Brown, Afrojack, Akon, Meghan Trainor, SHINee, NCT Dream and Junior Senior.

paragraph_text: Maejor received his first gold plaque for his production on Bun B's 2005 album "Trill", while still attending the University of Michigan in Ann Arbor. In 2010, Maejor was nominated for a Grammy Award, for his work on Trey Songz's album "Passion, Pain & Pleasure", and again in 2011, for Monica's album, "Still Standing". In 2012, Maejor produced two songs on Justin Bieber's album, "Believe", as well as the single "Say Somethin" by Austin Mahone. Maejor's single "Lights Down Low" was used as the official soundtrack in the NBA Playoffs for the Boston Celtics. He also produced the national campaign commercial for Pepsi in 2010 and 2013. He teamed with Justin Bieber again in 2013, co-producing his single "Heartbreaker". In 2013, Maejor also released a single titled "Lolly", featuring Juicy J. "Lolly" which peaked at number 19 on the US "Billboard" Hot 100 chart. He continues to produce and write for the top artists in the industry including 3 songs and Grammy nominations on Justin Bieber's worldwide #1 album "Purpose".

paragraph_text: ``Look What You Made Me Do ''is a song recorded by American singer - songwriter Taylor Swift from her sixth studio album Reputation (2017). It was first released on August 24, 2017 as the lead single from the album. Swift wrote it with producer Jack Antonoff. It samples the melody of the 1991 song`` I'm Too Sexy'' by the band Right Said Fred; therefore, Fred Fairbrass, Richard Fairbrass, and Rob Manzoli of the band are credited as songwriters.

paragraph_text: ``Beibs in the Trap ''(stylized as`` beibs in the trap'') is a song recorded by American rapper Travis Scott featuring Canadian rapper Nav. The track appeared on Scott's second studio album, Birds in the Trap Sing McKnight, which was released on September 2, 2016. ``Beibs in the Trap ''is a reference to cocaine, comparing the pure white substance to the Canadian singer Justin Bieber.

paragraph_text: On August 17, 2017, Bieber released the single ``Friends ''with American record producer and songwriter BloodPop. Songwriters Julia Michaels and Justin Tranter reunited with Bieber to construct the song, just as they helped create his single`` Sorry'' in 2015 on his studio album Purpose. Bieber did not attend the 2018 Grammy Awards Show to perform the nominated song ``Despacito '', claiming that he would not make any award show appearances until his next album was finished.

paragraph_text: Justin Drew Bieber (/ ˈbiːbər /; born March 1, 1994) is a Canadian singer, actor and songwriter. After a talent manager discovered him through his YouTube videos covering songs in 2008 and he signed to RBMG, Bieber released his debut EP, My World, in late 2009. It was certified platinum in the U.S. He became the first artist to have seven songs from a debut record chart on the Billboard Hot 100. Bieber released his first full - length studio album, My World 2.0, in 2010. It debuted at or near number one in several countries, was certified triple platinum in the U.S., and contained his single ``Baby ''.

paragraph_text: "Blue Guitar" is a 2011 song by the Slovak recording artist Celeste Buckingham. Released on July 20, 2011, the composition wrote singer herself along with producers Andrej Hruška and Martin Šrámek. Upon its release on the corresponding album "Don't Look Back," her debut single received positive reviews from music journalists.

paragraph_text: Justin Drew Bieber (/ ˈbiːbər /; born March 1, 1994) is a Canadian singer and songwriter. After a talent manager discovered him through his YouTube videos covering songs in 2008 and signed to RBMG, Bieber released his debut EP, My World, in late 2009. It was certified Platinum in the U.S. He became the first artist to have seven songs from a debut record chart on the Billboard Hot 100. Bieber released his first full - length studio album, My World 2.0, in 2010. It debuted at or near number one in several countries, was certified triple Platinum in the U.S., and contained his single ``Baby ''.

paragraph_text: ``Wonderful Tonight ''is a ballad written by Eric Clapton. It was included on Clapton's 1977 album Slowhand. Clapton wrote the song about Pattie Boyd. The female vocal harmonies on the song are provided by Marcella Detroit (then Marcy Levy) and Yvonne Elliman.

paragraph_text: In an interview with Simon Cowell, it was revealed that one of the songs for the album will be titled ``18 ''. The song was written by Ed Sheeran, who also wrote`` Little Things'' and ``Moments ''for the group.

paragraph_text: "Almost Home" is a song recorded by American singer and songwriter Mariah Carey. It is the main track from the 2013 Walt Disney Pictures film "Oz the Great and Powerful". Commissioned by Disney, Simone Porter, Justin Gray, and Lindsey Ray wrote the bulk of the record. When Carey signed on to sing the song, she and Stargate's Tor Erik Hermansen and Mikkel Eriksen would later change it a bit and ultimately, complete it. On February 6, 2013, it was announced that Mariah Carey had recorded the song for the Disney film with production team Stargate, and that it would be released through digital download on February 19, 2013.

paragraph_text: ``It Ai n't My Fault ''is a song by American country music duo Brothers Osborne. The song was released in January 2017 as the duo's fifth single overall. Duo members John and T.J. Osborne co-wrote the song with Kennedy Kelley, and Lee Thomas Miller.

paragraph_text: ``Love Yourself ''is a song recorded by Canadian singer Justin Bieber for his fourth studio album Purpose (2015). The song was released first as a promotional single on November 8, 2015, and later was released as the album's third single. It was written by Ed Sheeran, Benny Blanco and Bieber, and produced by Blanco. An acoustic pop song,`` Love Yourself'' features an electric guitar and a brief flurry of trumpets as its main instrumentation. During the song, Bieber uses a husky tone in the lower registers. Lyrically, the song is a kiss - off to a narcissistic ex-lover who did the protagonist wrong.

paragraph_text: On December 9, 2013, Bieber announced that the ten Music Monday releases would be packaged with an additional five new songs in a compilation entitled Complete My Journals. Although the album was initially set for release on December 16, 2013, the date was pushed back one week to December 23, as Bieber intended to include one more song on the compilation. Though it does not appear on the album itself, the bonus track, ``Flatline '', was available for a free download on the iTunes Store for a limited time. Journals was available on iTunes from January 2, 2014, and all sixteen songs are available for purchase individually. According to one of its producers and Bieber's personal friend, Jason`` Poo Bear'' Boyd, the album was supposed to receive a full release, as well as its singles to be promoted on radio, however the label did n't support it because it was n't the direction they wanted Justin to go. It was, however, eventually released on LP in 2016.

Question: What song did the songwriter of Perfect write for Justin Bieber?
Answer: ``Love Yourself ''