Question: Which Rihanna album is the song that inspired "I Was a Fool" on?

full_context: Document 1: List of songs recorded by Rihanna: Barbadian singer Rihanna has recorded material for her eight studio albums and has collaborated with other artists for duets and featured songs on their respective albums and charity singles. After signing a record contract with the Def Jam Recordings in February 2005, Rihanna began to work with producers Carl Sturken and Evan Rogers, who co-wrote and co-produced 12 out of the 15 songs on her 2005 debut album, "Music of the Sun". Award-winning songwriter Diane Warren co-wrote the title track, while Grammy Award-winning singer-songwriter Deniece Williams co-wrote the song "Willing to Wait". Sturken and Rogers co-wrote and co-produced 9 songs out of 16 on Rihanna's 2006 album "A Girl like Me". The album's lead single "SOS" was written by Evan "Kidd" Bogart and J. R. Rotem. It contains a sped-up sample of "Tainted Love", written in 1965 by Ed Cobb, who was credited as a co-writer on "SOS".
Document 2: Rihanna: Robyn Rihanna Fenty ( ; February 20, 1988) is a Barbadian singer, songwriter, and actress. Born in Saint Michael, Barbados and raised in Bridgetown, during 2003 she recorded demo tapes under the direction of record producer Evan Rogers and signed a recording contract with Def Jam Recordings after auditioning for its then-president, hip hop producer and rapper Jay Z. In 2005, Rihanna rose to fame with the release of her debut studio album "Music of the Sun" and its follow-up "A Girl like Me" (2006), which charted on the top 10 of the US "Billboard" 200 and respectively produced the singles "Pon de Replay" and "SOS".
Document 3: Hate That I Love You: "Hate That I Love You" is a song recorded by Barbadian singer Rihanna for her third studio album, "Good Girl Gone Bad" (2007). It features vocals by American singer and songwriter Ne-Yo, who co-wrote the song with its producers StarGate. Def Jam Recordings released the song on August 21, 2007, as the third single from "Good Girl Gone Bad". A Spanglish version featuring David Bisbal was made available on April 28, 2008. "Hate That I Love You" is a mid-tempo R&B song about the power of love, with influences of folk music. "Hate That I Love You" received generally positive reviews from critics, many of whom compared it to previous works by Ne-Yo.
Document 4: Loveeeeeee Song: "Loveeeeeee Song" is a song by Barbadian recording artist Rihanna recorded for her seventh studio album "Unapologetic" (2012). The song features vocals by American singer-rapper Future who also co-wrote, and music produced by Luney Tunez, Emmanuel Zaragoza (previously known as Mex Manny) and Future. Additional writing was done by Denisia "Blu June" Andrews and Rihanna herself. The song was released as the fourth single in the UK only and fourth overall from the album, impacting on urban radio stations in that region on April 3, 2013.
Document 5: Umbrella (song): "Umbrella" is a song by Barbadian singer Rihanna from her third studio album "Good Girl Gone Bad" (2007). It features American rapper Jay-Z, who co-wrote the song with its producers Tricky Stewart and Kuk Harrell, with additional writing from The-Dream. The song was originally written with Britney Spears in mind, but her label rejected it. "Umbrella" is a pop, hip hop and R&B song referring to a romantic and platonic relationship and the strength of that relationship.
Document 6: Fool in Love: "Fool in Love" is a song by Barbadian recording artist Rihanna, from the deluxe edition of her sixth studio album "Talk That Talk" (2011). The song was written by Ester Dean, Lukasz Gottwald, Henry Walter. Production was helmed by Lukasz Gottwald, Cirkut and Dean. Musically, "Fool in Love" is a rhapsodic ballad, and instrumentation consists of acoustic and electric guitars, synthesizers and drums. The lyrics revolve around Rihanna being the protagonist, and how she has met a relatively good man who her parents do not approve of, but requests that they accept her decision to be with him due to their love for each other, despite familial concerns.
Document 7: A Girl like Me (Rihanna album): A Girl like Me is the second studio album by Barbadian singer Rihanna. It was released on April 10, 2006 by Def Jam Recordings. For the production of the album, Rihanna worked with Evan Rogers, Carl Sturken, StarGate, J. R. Rotem and label-mate Ne-Yo, who wrote the album's second single. "A Girl like Me" is a pop, reggae and R&B album influenced by Rihanna's Caribbean roots. The album also incorporates elements of dancehall and rock, as well as ballads, which music critics were ambivalent towards.
Document 8: Unfaithful (song): "Unfaithful" is a song by Barbadian singer Rihanna from her second studio album "A Girl like Me" (2006). It was written by Shaffer "Ne-Yo" Smith with the song's producers StarGate. The song was released by Def Jam Recordings on May 2, 2006, as the second single from the album. "Unfaithful" is a pop and R&B ballad and was inspired by the works of American rock band Evanescence. Originally titled "Murderer", the single speaks about a woman who regrets cheating on her partner.
Document 9: Tear in My Heart: "Tear in My Heart" is a song written and recorded by American musical duo Twenty One Pilots, for their fourth studio album "Blurryface". "Tear in My Heart" was uploaded to YouTube on April 6, 2015, being released as a single on the same day. "Tear in My Heart" was released to radio on April 14, 2015. The video was directed by Marc Klasfeld. In addition to both band members, lead singer Tyler Joseph's wife Jenna also appears in the music video. It is one of the band's highest-charting songs, spending eight weeks at the number two spot on the "Billboard" Alternative Songs chart, with X Ambassadors' "Renegades" keeping it from topping the chart.
Document 10: Love the Way You Lie: "Love the Way You Lie" is a song recorded by the American rapper Eminem, featuring the Barbadian singer Rihanna, from Eminem's seventh studio album "Recovery" (2010). The singer and songwriter Skylar Grey wrote and recorded a demo of the song alongside the producer Alex da Kid when she felt she was in an abusive romantic relationship with the music industry. Eminem wrote the verses and chose Rihanna to sing the chorus, resulting in a collaboration influenced by their past experiences in difficult relationships. Recording sessions were held in Ferndale, Michigan, and Dublin, Ireland. Backed by guitar, piano and violin, the track is a midtempo hip hop ballad with a pop refrain, sung by Rihanna, and describes two lovers who refuse to separate despite being in a dangerous love–hate relationship.
Document 11: Good Girl Gone Bad: Good Girl Gone Bad is the third studio album by Barbadian singer Rihanna. It was released on May 31, 2007, by Def Jam Recordings and SRP Records. Rihanna worked with various producers on the album, including Christopher "Tricky" Stewart, Terius "Dream" Nash, Neo da Matrix, Timbaland, Carl Sturken, Evan Rogers and StarGate. Inspired by Brandy Norwood's fourth studio album "Afrodisiac" (2004), "Good Girl Gone Bad" is a pop, dance-pop and R&B album with 1980s music influences. Described as a turning point in Rihanna's career, it represents a departure from the Caribbean sound of her previous releases, "Music of the Sun" (2005) and "A Girl like Me" (2006). Apart from the sound, she also endorsed a new image for the release going from an innocent girl to an edgier and more sexual look.
Document 12: Rihanna videography: Barbadian singer Rihanna has released four video albums and appeared in fifty-two music videos, six films, ten television programs, and eight television commercials. In 2005, Rihanna signed a recording contract with Def Jam Recordings and released her debut single "Pon de Replay", taken from her first studio album "Music of the Sun" (2005). Like its lyrical theme, the music video for the song was inspired by disco and dance; it was directed by Little X. Three separate videos were released for "SOS", the lead single from her second studio album "A Girl Like Me" (2006), all of which contained various dance sequences. The same year, American director Anthony Mandler directed the accompanying music video for the second single "Unfaithful", which featured Rihanna in a dangerous love triangle with her lover and her husband. "Unfaithful" was Rihanna's first collaboration with Mandler; they later worked together regularly. Also in 2006, Rihanna played herself in the third installment of the "Bring It On" film series, entitled "".
Document 13: I Was a Fool: "I Was a Fool" is a song written and performed by Canadian duo Tegan and Sara for their seventh studio album, "Heartthrob". Inspired by Rihanna's singles "Unfaithful" and "Umbrella", the song is about a woman who is in a troubled relationship but doing nothing to fix it, making her seem like a fool.
Document 14: Half of Me (Rihanna song): "Half of Me" is a song recorded by Barbadian recording artist Rihanna for her seventh studio album "Unapologetic" (2012). It was written by Emeli Sandé, Naughty Boy and Stargate, with production done by the latter two. It is a chamber pop and R&B song that sees Rihanna deliver vocals in an "experimental" fashion. Its lyrics have been described as a "personal essay", with lyrics that discuss Rihanna's unrepentant attitude in letting people into her life. She references Oprah Winfrey in the line "You saw me on the television". The song garnered positive reviews from music critics, some of whom felt that it is "heartfelt" and "psychedelic". Upon the release of "Unapologetic", the song charted in Canada, France, Ireland, Switzerland and the United Kingdom. It debuted at number 10 on the UK R&B Chart.
Document 15: If I Were a Boy: "If I Were a Boy" is a song performed by American singer and songwriter Beyoncé from her third studio album "I Am... Sasha Fierce" (2008). It was written by BC Jean and Toby Gad, who also handled its production alongside Beyoncé. Inspired by the difficult break-up of a romantic relationship, the song was initially recorded by Jean, whose record company rejected it. Beyoncé then recorded her own version. Jean was upset when she learned that Beyoncé was releasing it as a single, but eventually they reached an agreement. Columbia Records released "If I Were a Boy" to US radio on October 8, 2008, as the album's lead single alongside "Single Ladies (Put a Ring on It)". The two songs showcased the contrast between Beyoncé's personality and her aggressive onstage persona, Sasha Fierce. A Spanish version of the song, titled "Si Yo Fuera un Chico", was digitally released in Mexico and Spain.
ground_truth: "A Girl like Me"