Question: Who was the song Thinking Out Loud written for by the artist who is most played on Spotify?

full_context: Document 1: List of most-streamed songs on Spotify: This list of most - streamed songs on Spotify contains the top 100 songs with the most streams of all time, as derived from Spotify charts. As of January 2018, six songs have exceeded 1 billion streams, with Ed Sheeran's ``Shape of You ''ranked in the top position.
Document 2: List of most-streamed artists on Spotify: Rank Artist Total streams (billions) Country 1. Francesca Michielin 17.1 ITA 2. Justin Bieber 11 CAN As of July 27, 2018
Document 3: The Long and Winding Road: Paul McCartney said he came up with the title ``The Long and Winding Road ''during one of his first visits to his property High Park Farm, near Campbeltown in Scotland, which he purchased in June 1966. The phrase was inspired by the sight of a road`` stretching up into the hills'' in the remote Highlands surroundings of lochs and distant mountains. He wrote the song at his farm in 1968, inspired by the growing tension among the Beatles. Based on other comments McCartney has made, author Howard Sounes writes, the lyrics can be seen as McCartney expressing his anguish at the direction his personal life was taking in the autumn of 1968, after he had separated from his fiancée Jane Asher, as well as a nostalgic look back at the Beatles' history. McCartney recalled: ``I just sat down at my piano in Scotland, started playing and came up with that song, imagining it was going to be done by someone like Ray Charles. I have always found inspiration in the calm beauty of Scotland and again it proved the place where I found inspiration. ''
Document 4: Gorgeous (Taylor Swift song): Swift co-wrote ``Gorgeous ''with its producers Max Martin and Shellback. It has been described as a`` radio - friendly pop'' song. Lyrically, the song depicts ``the pursuit of a maddening love interest '', whom Swift describes as`` gorgeous''. Hugh McIntyre of Forbes characterized the production of the song as ``simultaneously a basic 808 drum and an attempt at something that pushes electro - pop into a more interesting territory than Top 40 is used to ''. Maeve McDermott of USA Today likened the chorus of the song to the sound of Katy Perry. According to Elle, the man mentioned in the song is the British actor Joe Alwyn, who is Swift's current boyfriend. The song is composed in the key of C major with a tempo of 92 beats per minute, with Swift's vocals spanning from C to F.
Document 5: List of Billboard Hot 100 chart achievements and milestones: Number of singles Artist 38 Madonna 36 Elvis Presley † 34 The Beatles 31 Rihanna 29 Michael Jackson 28 Stevie Wonder Mariah Carey 27 Elton John Janet Jackson 24 Drake
Document 6: Shape of You: ``Shape of You ''is a song by English singer - songwriter Ed Sheeran. It was released as a digital download on 6 January 2017 as one of the double lead singles from his third studio album ÷ (2017), along with`` Castle on the Hill''.
Document 7: Shape of You: On 30 January 2017, the song's official music video, starring American dancer and model Jennie Pegouskie and retired professional sumo wrestler Yamamotoyama Ryūta (credited as ``Yama ''), was released on Sheeran's channel. It was shot on location in Seattle, and was directed by Jason Koenig. On 8 May 2017, 97 days after its release, it became one of the fastest music videos to reach 1 billion views on YouTube, and as of April 2018, the music video has amassed over 3.4 billion views on the site. and is the site's third most - watched video.
Document 8: We Are Never Ever Getting Back Together: After writing Speak Now (2010) entirely solo, Swift opted to collaborate with different songwriters and producers for Red. Thus, she called Max Martin and Shellback, two songwriters and producers whose work she admired, to discuss a possible collaboration. The trio conceived the concept for ``We Are Never Ever Getting Back Together ''shortly after a friend of Swift's ex-boyfriend walked into the recording studio and spoke of rumors he heard that Swift and her former flame were reuniting. After the friend left, Martin and Shellback asked Swift to elaborate on the details of the relationship, which she described as`` break up, get back together, break up, get back together, just, ugh, the worst''. When Martin suggested that they write about the incident. Swift began playing the guitar and singing, ``We are never ever... '', and the song flowed rapidly afterwards. She described the process as one of the most humorous experiences she had while recording, and said the musical partners matched her expectations. An audio clip of her sarcastically speaking about breakups can be heard before the final chorus. The song is reportedly about Swift's ex, Jake Gyllenhaal, as the two had broken up in January 2011 but had been seen on a date a few days later. After the release of the music video, more clues linking the song to Gyllenhaal emerged, with the actor looking like Gyllenhaal, the actor in the video giving her a scarf as Gyllenhaal had reportedly done for Swift and a bracelet Swift wears in the video that is speculated to look similar to that of which Gyllenhaal was rumored to have given Swift for her birthday.
Document 9: When I Was Your Man: ``When I Was Your Man ''was written by Andrew Wyatt, Bruno Mars, Philip Lawrence and Ari Levine, while production was handled by the latter three production - team The Smeezingtons. Having chord progressions Am - C - Dm - G - G7 - C (verse) and F-G-C (chorus), the song is written in the key of C Major, with Mars' vocals range from the low note of G3 to the high note of C5. The pop piano ballad finds Mars singing about a pre-fame heartbreak as he regrets letting his woman get away. It starts with a rolling piano riff; unto a nearly scat`` vocal cadence'': ``Same bed but it feels just a little bit bigger now / Our song on the radio but it do n't sound the same '', as he laments the`` single state'' he created for himself. Next, he sings of his failings; to do right by his woman, ``I shoulda bought you flowers / And held your hand / Shoulda gave you all my hours / When I had the chance ''. Its title phrase re-emerges in the final chorus, juxtaposed by Bruno from all the things he`` shoulda'' done, into things he hopes his ex's new man will do; concluding: ``Do all of the things I should have done / When I was your man ''. In an interview to Rolling Stone, Mars revealed, while reluctant, that he wrote the song for his girlfriend, model Jessica Caban, when he was worried about losing her. In contrast with the song, Mars and Caban stayed together; remaining a couple as of 2014. Mars also said, in the interview, that he finds it difficult to perform the song; saying:`` You're bringing up all these old emotions again,'' and that: ``It's just like bleeding! ''
Document 10: 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 11: List of UK top-ten singles in 2017: 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.
Document 12: List of Billboard Hot 100 chart achievements and milestones: Number of singles Artist Biggest number - one † 20 The Beatles ``Hey Jude ''18 Elvis Presley ‡`` Do n't Be Cruel'' / ``Hound Dog ''Mariah Carey`` We Belong Together'' 14 Rihanna ``We Found Love ''13 Michael Jackson`` Say Say Say'' (duet with Paul McCartney) 12 The Supremes ``Love Child ''Madonna`` Like a Virgin'' 11 Whitney Houston ``I Will Always Love You ''10 Stevie Wonder`` Ebony and Ivory'' (duet with Paul McCartney) Janet Jackson ``Miss You Much ''
Document 13: 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 14: From This Moment On (Shania Twain song): ``From This Moment On ''was written during a soccer game in Italy. Twain once explained,`` We were in Italy at a soccer game. My husband loves sports. I do n't know the game that well, so my mind drifted and I started writing.'' Initially, Twain thought that ``From This Moment On ''would be perfect for singer Celine Dion; however, as Twain and Lange developed the song, they concluded that it would work best as a duet. While their first choice for the duet was Elton John, they chose country singer Bryan White. Twain later described White as`` the best male voice in country music. Beyond country music! He's an excellent singer. So he needed to be on this record, because the song soars. It demands that. It demands dynamics.'' White explained that, by the time he went to the recording, the song was mostly finalized, and described it as' extremely challenging 'vocally.
Document 15: 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.
ground_truth: his then - girlfriend, Athina Andrelos
sub_queries: who is the most played artist on spotify Answer: Ed Sheeran
who did Ed Sheeran wrote the song thinking out loud for Answer: his then - girlfriend, Athina Andrelos