Question: What song did the composer of 18 by One Direction, write for Justin Bieber?

full_context: Document 1: Four (One Direction album): 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.
Document 2: Love Yourself: Lyrically, ``Love Yourself ''is a kiss - off to a narcissistic ex-lover who did the protagonist wrong, with Bieber singing in a snappy and spiteful tone while`` hating on a girl for loving herself too much.'' In the pre-chorus, he sings with a husky tone in the lower registers: ``My mama do n't like you, and she likes everyone, ''`` in a style that molds well to Sheeran's,'' according to Rolling Stone's Brittany Spanos. ``And I (never) like to admit that I was wrong. And I've been so caught up in my job, did n't see what's going on, and now I know, I'm better sleeping on my own, ''he continues. In the chorus, Bieber sings,`` Cause if you like the way you look that much, oh baby you should go and love yourself,'' which according to Digital Spy's Amy Davidson, ``'love yourself' means' go f * * k yourself 'in this context. ''On March 7, 2017, composer Ed Sheeran stated on the Howard Stern Show that he had Rihanna in mind for the song at first, and the original lyric was indeed`` fuck yourself.'' In the song's bridge, Bieber uses a ``brass - and - vocalese ''style.
Document 3: Love Yourself: Tear: Love Yourself 轉 'Tear' (stylized as LOVE YOURSELF 轉 'Tear') is the third Korean studio album (sixth overall) by South Korean boy band BTS. The album was released on May 18, 2018 by Big Hit Entertainment. It is available in four versions and contains eleven tracks, with ``Fake Love ''as its lead single. The concept album explores themes relating to the pains and sorrows of separation. On May 27, 2018, the album debuted at number one on the US Billboard 200, earning 135,000 album - equivalent units becoming BTS 'highest - charting album in a Western market, as well as the first K - pop album to top the US albums chart and the highest - charting album by an Asian act.
Document 4: Thinking Out Loud: In the kitchen, Sheeran and Wadge began writing the song at 2: 00 am on 4 February 2014, and completed it in 20 minutes. According to Wadge, the lyrical content resulted from her and Sheeran's talking about ``everlasting love '', inspired by the circumstances relevant at that time. Sheeran also revealed that the lyrics were inspired by his then - girlfriend, Athina Andrelos, whom Sheeran met in early 2014. Sheeran would later explain that he wrote the song`` in a relationship at a really, really happy point''. Immediately after writing, Sheeran recorded the song on his phone. He was keen to include ``Thinking Out Loud ''on the second album. He properly recorded the song the following day at the Sticky Studios, a recording facility located in the small Surrey village of Windlesham, and informed Wadge of its inclusion on the album. It became the last song recorded for the album. For`` Thinking Out Loud'', Sheeran sought the assistance of Jake Gosling, who produced much of his debut album and had earlier contributed tracks, four of which appear on the standard version of the second album.
Document 5: Four (One Direction album): Four is the fourth studio album by English-Irish boy band One Direction, released on 17 November 2014 by Columbia Records and Syco Music. Two singles were released from the album, "Steal My Girl" and "Night Changes", both achieving platinum status in the US, and scoring the band their tenth and eleventh UK top-ten hits. The album was also One Direction's last with member Zayn Malik, who announced he was leaving the band on 25 March 2015.
Document 6: Photograph (Ed Sheeran song): "Photograph" is a song recorded by the English singer-songwriter, Ed Sheeran, for his second studio album, "×" (2014). Sheeran wrote the song with Snow Patrol member, Johnny McDaid, who had a piano loop from which the composition developed. After recording several versions with other producers, Sheeran eventually solicited help from Jeff Bhasker; the collaboration generated a version that Bhasker further enhanced for months. The ballad derives its music primarily from an acoustic guitar, piano and programmed drums. With visually descriptive lyrics, it discusses a long-distance relationship inspired by Sheeran's own experience of being away from his then-girlfriend while he was on tour.
Document 7: One Direction: In 2010, Niall Horan, Zayn Malik, Liam Payne, Harry Styles, and Louis Tomlinson auditioned as solo candidates for the seventh series of the British televised singing competition The X Factor. They failed to progress to the ``Boys ''category at`` judges' houses'' but were put together to form a five - piece boy band at Wembley Arena, in London, England, in July 2010, during the ``bootcamp ''stage of the competition, thus qualifying for the`` Groups'' category. Nicole Scherzinger, a guest judge, and Simon Cowell have both claimed to have come up with the idea of forming the band. In 2013, Cowell said that it ``took him 10 minutes to put them together as a group ''. Subsequently, the group got together for two weeks to get to know each other and to practice. Styles came up with the name One Direction. For their qualifying song at`` judges' houses'', and their first song as a group, One Direction sang an acoustic version of ``Torn ''. Cowell later commented that their performance convinced him that they`` were confident, fun, like a gang of friends, and kind of fearless as well.'' Within the first four weeks of the live shows, they were his last act in the competition. The group quickly gained popularity in the UK.
Document 8: Love Yourself: ``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.
Document 9: Somebody to Love (Justin Bieber song): "Somebody to Love" is a song performed by Canadian recording artist Justin Bieber. The song served as the second single from his album, "My World 2.0". It was written by Heather Bright and The Stereotypes, and produced by the latter. The song was originally recorded as a demo by Bieber's mentor, R&B singer, Usher, for his sixth studio album, "Raymond v. Raymond" (2010). After things went stale with Usher's label, The Stereotypes were encouraged to give the song to Bieber, who recorded it, with Usher performing background vocals. The song is an upbeat pop song, which also derives from R&B genre, while making use of Eurodisco influences. It impacted US mainstream and rhythmic radio on April 20, 2010. The remix of the song featuring Usher was featured on Bieber's first compilation album "" and his second remix album "".
Document 10: What Do You Mean?: ``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.
Document 11: Songs I Wrote with Amy: Songs I Wrote with Amy is an extended play, independently released by Ed Sheeran on April 4, 2010. After the success of +, Sheeran re-released five of his EPs, including "Songs I Wrote with Amy", which was released a second time on December 9, 2011. All of the songs were written collaboratively by Ed Sheeran and Amy Wadge.
Document 12: Sing (Ed Sheeran song): "Sing" is a song by English singer-songwriter, Ed Sheeran. It was written by Sheeran and Pharrell Williams, who also produced it and provided uncredited background vocals. The song was released on 7 April 2014, serving as the lead single from Sheeran's second studio album, "×" (2014). The song became Sheeran's first UK number-one single and also topped the charts in Australia, New Zealand and Ireland. It also peaked at No. 13 on the US "Billboard" Hot 100.
Document 13: Love Yourself: Tear: Love Yourself 轉 'Tear' (stylized as LOVE YOURSELF 轉 'Tear') is the third Korean studio album (sixth overall) by South Korean boy band BTS. The album was released on May 18, 2018 by Big Hit Entertainment. It is available in four versions and contains eleven tracks, with ``Fake Love ''as its lead single. The concept album explores themes relating to the pains and sorrows of separation. It debuted at number one on the US Billboard 200, becoming BTS 'highest - charting album in a Western market, as well as the first K - pop album to top the US albums chart and the highest - charting album by an Asian act.
Document 14: Baby (Justin Bieber song): The song is predominantly upbeat, featuring Bieber's R&B vocals over a backdrop containing a dance infused beat, full of keyboard and ``disco string ''synths. The song is composed in the key of E ♭ major with Bieber's vocal range spanning from the low - note of G to the high - note of C. According to Jody Rosen of Rolling Stone, the song`` blends winks at Fifties doo - wop with hip - hop chants'', comparing the style and the lyrics ``My first love broke my heart for the first time / And I was like / Baby, baby, baby, ooooh / I thought you'd always be mine ''to fifties ballads like`` Tears on My Pillow'', ``Why Do Fools Fall in Love ''and`` Earth Angel''. Lyrically, Bieber's lines explain his distress over his lost love, and promise to get it back, featured in lines like, ``And I wan na play it cool / But I'm losin 'you... / I'm in pieces / So come and fix me... ''. The chorus features the distinct and repetitive`` baby, baby, baby, ohhhh (nooooo)'' hook. After the second verse, Ludacris comes in with the verse - rap, an anecdote of young love when he was thirteen, as it runs ``When I was 13 / I had my first love / She had me going crazy / Oh, I was star - struck / She woke me up daily / Do n't need no Starbucks... ''.
Document 15: Love Yourself: Answer: Love Yourself 結 'Answer' (stylized as LOVE YOURSELF 結 'Answer') is the third Korean - language compilation album by South Korean boy band BTS. The album was released on August 24, 2018 by Big Hit Entertainment and is available in 4 different versions: S, E, L, and F. The album contains twenty - five tracks (twenty - six for digital version), including seven new songs, with the track ``Idol ''serving as the lead single. Most tracks are from Love Yourself: Her, and Love Yourself: Tear, including some remixes. The album debuted at number one in South Korea, Canada and the United States, becoming BTS 'second chart - topping album in the US market.
ground_truth: ``Love Yourself ''
sub_queries: who wrote the song 18 by one direction Answer: Ed Sheeran
what song did Ed Sheeran wrote for justin bieber Answer: ``Love Yourself ''