Question: The American singer-songwriter Taylor Swift released which album co-written by Max Martin and Shellback and inspired by the singer's "semi-toxic" relationships she experienced?

<P0-S0> Taylor Swift is the debut studio album by American singer-songwriter Taylor Swift, released on October 24, 2006, by Big Machine Records. <P0-S1>  Swift was 16 years old at the time of the album's release and wrote its songs during her freshman year of high school. <P0-S2>  Swift has writing credits on all of the album's songs, including those co-written with Liz Rose. <P0-S3>  Swift experimented with several producers, ultimately choosing Nathan Chapman, who had produced her demo album. <P0-S4>  Musically, the album is country music styled, and lyrically it speaks of romantic relationships, a couple of which Swift wrote from observing relationships before being in one. <P0-S5>  Lyrics also touch on Swift's personal struggles in high school. <SEP> <P1-S0>  The album title was inspired by the "semi-toxic relationships" that Swift experienced during the process of conceiving this album, which Swift described the emotions she felt as "red emotions" due to their intense and tumultuous nature. <P1-S1> Red is the fourth studio album by American singer-songwriter Taylor Swift. <P1-S2>  It was released on October 22, 2012, by Big Machine Records, as the follow-up to her third studio album, "Speak Now". <P1-S3>  "Red" touches on Swift's signature themes of love and heartbreak, however, from a more mature perspective while exploring other themes such as fame and the pressure of being in the limelight. <P1-S4>  The album features collaborations with producers and guest artists such as Gary Lightbody of Snow Patrol and Ed Sheeran and is noted for Swift's experimentation with new musical genres. <P1-S5>  Swift completed The Red Tour in support of the album on June 12, 2014, which became the highest-grossing tour of all time by a country artist, grossing over $150 million. <SEP> <P2-S0>  Swift co-wrote the song with its producers, Max Martin and Shellback. <P2-S1>  The song was released as the lead single from "Red" on August 13, 2012, by Big Machine Records. <P2-S2>  Its lyrics depict Swift's frustrations at an ex-lover who wants to re-kindle their relationship. " <P2-S3> Rolling Stone" magazine named the song the second best song of 2012 while it took the fourth spot in "Time"' s end-of-year poll. <P2-S4>  It has received a Grammy Award nomination for Record of the Year. <P2-S5>  It also received a People's Choice Awards nomination for Favorite Song of the Year. <P2-S6> "We Are Never Ever Getting Back Together" is a song recorded by American singer-songwriter Taylor Swift for her fourth studio album, "Red" (2012). <SEP> <P3-S0> 1989 is the fifth studio album by American singer-songwriter Taylor Swift released on October 27, 2014, through Big Machine Records. <P3-S1>  Swift began composing the album following release of previous studio effort, "Red" (2012). <P3-S2>  Over the course of the two-year songwriting period, she collaborated with producers Max Martin and Shellback—Martin served as the album's executive producer alongside Swift. <P3-S3>  The album's title was named after the singer's birth year and inspired by the pop music of the 1980s.