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> "We Are Never Ever Getting Back Together" is a song recorded by American singer-songwriter Taylor Swift for her fourth studio album, "Red" (2012). <P1-S1>  Swift co-wrote the song with its producers, Max Martin and Shellback. <P1-S2>  The song was released as the lead single from "Red" on August 13, 2012, by Big Machine Records. <P1-S3>  Its lyrics depict Swift's frustrations at an ex-lover who wants to re-kindle their relationship. " <P1-S4> 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. <P1-S5>  It has received a Grammy Award nomination for Record of the Year. <P1-S6>  It also received a People's Choice Awards nomination for Favorite Song of the Year. <SEP> <P2-S0> 1989 is the fifth studio album by American singer-songwriter Taylor Swift released on October 27, 2014, through Big Machine Records. <P2-S1>  Swift began composing the album following release of previous studio effort, "Red" (2012). <P2-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. <P2-S3>  The album's title was named after the singer's birth year and inspired by the pop music of the 1980s. <SEP> <P3-S0> Red is the fourth studio album by American singer-songwriter Taylor Swift. <P3-S1>  It was released on October 22, 2012, by Big Machine Records, as the follow-up to her third studio album, "Speak Now". <P3-S2>  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. <P3-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. <P3-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. <P3-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.