Question: Which song was written by John Lennon and Paul McCartney, released on the 7th Capitol Records release in the United States and Canada, and peaked at #1 in the United States?

full_context: Document 1: Bad to Me: "Bad to Me" is a song credited to Lennon–McCartney. In late interviews, John Lennon said that he wrote it for Billy J. Kramer with The Dakotas while on holiday in Spain. However, in a 1964 interview he said that he and Paul McCartney wrote it in the back of a van, so Paul contributed to it. Billy J. Kramer with The Dakotas released their recording of the song in 1963 and it became their first number 1 in the UK Singles Chart. Paul McCartney was present during the recording session at Abbey Road Studios. The single would be released in the US the following year, and become a top-ten hit there, reaching number 9. It became one of the first occasions a Lennon–McCartney composition made the US Top 40 recorded by an artist other than the Beatles (the first being "A World Without Love" by Peter & Gordon; another being "Goodbye" by Mary Hopkin).
Document 2: Mono Masters: Mono Masters is a compilation album by the Beatles, and is an alternate, all-mono version of the album "Past Masters". "Mono Masters" was originally a two-CD set included as part of "The Beatles in Mono" box set. The premise of this box set was to compile only Beatles material which was released or prepared for release with a dedicated mono mix (the set excludes later material mixed and released only in stereo, and material whose mono version was simply created as an equal mix of the two channels of the stereo version). As a result, the track listing for "Mono Masters" differs from "Past Masters" on the second half of disc two, omitting some later songs that never had a mono mix ("Old Brown Shoe", "The Ballad of John and Yoko" and "Let It Be"), and adding several songs released on stereo-only albums that had unreleased mono mixes. Tracks 9–12 and 15 were prepared in March 1969 for release as a 7" mono "Yellow Submarine" EP, two months after the release of the similarly titled soundtrack album, but the project was scrapped, although the EP was mastered. Subsequently, the tracks were only released in stereo (and in an electronically produced mono mixdown, or "fold-down", of the stereo mix), while the true mono mixes remained unreleased. "Get Back" (with B-side "Don't Let Me Down") was the final Beatles single mixed for mono format. It was released in the UK in mono, though the US release was in stereo. Thus, the songs that were originally released on stereo singles in the UK are omitted on this release.
Document 3: Beatles VI: Beatles VI is the Beatles' seventh Capitol Records release in the United States and Canada (including "The Beatles' Story"). It was the ninth album released into that market in less than one and a half years (Vee-Jay Records and United Artists Records also released one album each during that period). The LP was released in both mono and stereo versions.
Document 4: I'll Be on My Way: "I'll Be on My Way" is a song attributed to John Lennon and Paul McCartney, which was first released on 26 April 1963 by Billy J. Kramer with the Dakotas as the b-side of their single "Do You Want to Know a Secret", a song also attributed to Lennon–McCartney. The single reached number two in the UK charts while "From Me to You" by the Beatles was occupying the number 1 position. According to Lennon, the song was written by McCartney: "This was early Paul." However, there is good evidence that Lennon also contributed to the song. Compton attributes it to "McCartney-Lennon." The Beatles recorded a version of the song, first released in 1994 on the "Live at the BBC" compilation.
Document 5: Introducing... The Beatles: Introducing... The Beatles is the first Beatles album released in the United States. Originally scheduled for a July 1963 release, the LP came out on 10 January 1964, on Vee-Jay Records, ten days before Capitol's "Meet the Beatles!". The latter album, however, entered the U.S. album chart one week before the former. Consequently, when "Meet The Beatles!" peaked at #1 for eleven consecutive weeks, "Introducing...The Beatles" stalled at #2 where it remained nine consecutive weeks. It was the subject of much legal wrangling, but ultimately, Vee-Jay was permitted to sell the album until late 1964, by which time it had sold more than 1.3 million copies. On 24 July 2014 the album was certified gold and platinum by the RIAA.
Document 6: In the Beginning (Circa 1960): In the Beginning (Circa 1960) is the first consolidated American packaging of the 1962 German album by Tony Sheridan and The Beatles (credited as The Beat Brothers), called "My Bonnie". "In the Beginning (Circa 1960)" was released by Polydor Records in 1970 (catalogue number 24-4504.) It was recorded in Hamburg in 1961. This album was originally released as "The Beatles' First" in Germany in 1964 and in the United Kingdom in 1967. Previous American releases of this material in LP form was split in 1964 between MGM Records and Atco Records. Polydor (which eventually absorbed MGM) established its United States branch in 1969 which explains why this package was released much later in The Beatles' history. Most of the tracks feature vocals by Sheridan. The album was released only four days before "Let It Be", The Beatles' final studio album. This is therefore the last Beatles compilation album released whilst the band were still releasing studio albums. All subsequent releases of Sheridan/Beatles/Beat Brothers material are simply repackages of the same tracks. This album is available in a slightly altered CD by Polydor without the inaccurate "(Circa 1960)" subtitle and with both parts of "Ya Ya". Only part one of that track was released on this LP. "In the Beginning (Circa 1960)" was also the only Beatles album not owned by EMI though Universal's purchase of Polydor and the Beatles' main catalogue put them under the same ownership.
Document 7: Thank You Girl: "Thank You Girl" is a song recorded by the Beatles, written by John Lennon and Paul McCartney (Lennon–McCartney), and issued as the B-side of the single "From Me to You", which was recorded on the same day (5 March 1963). While not released on an LP in the United Kingdom until "Rarities" in 1978, the song was the second track on "The Beatles' Second Album" in the United States. As the B-side of the single "Do You Want to Know a Secret", it hit No. 35 on the "Billboard" Hot 100 in the spring of 1964.
Document 8: The Beatles discography: In their native United Kingdom, during 1962–1970, the Beatles released 12 studio albums, 13 extended plays (EPs) and 22 singles. However, the band's international discography is complicated, due to different versions of their albums sometimes being released in other countries, particularly during their early years on Capitol Records in North America. The Beatles' discography was originally released on the vinyl format, with full-length long plays (LPs), shorter EPs and singles. Over the years, the collection has also been released on cassette, 8-track, compact disc (CD), and on a USB flash drive in MP3 and 24-bit FLAC format. Although their output has come to include vault items and remixed mash-ups, the Beatles' "core catalogue", recorded in 1962–1970, is 217 songs totalling approximately 10 hours of music. Additionally, they released five tracks that are different versions of previously released songs: "Love Me Do", "Revolution", "Get Back", "Across the Universe" and "Let It Be"; two tracks in German: "Komm, Gib Mir Deine Hand" and "Sie Liebt Dich"; and two tracks that are duplicates of songs included on previous albums but also included on the album "Yellow Submarine": "Yellow Submarine" and "All You Need Is Love".
Document 9: Beatles for Sale: Beatles for Sale is the fourth studio album by the English rock band the Beatles. It was released on 4 December 1964 in the United Kingdom on EMI's Parlophone label. Eight of the album's fourteen tracks appeared on Capitol Records' concurrent release, "Beatles '65", issued in North America only. The album marked a departure from the ebullient tone that had characterised the Beatles' previous work, partly due to the band's exhaustion after a series of tours that had established them as a worldwide phenomenon in 1964. The songs introduced darker musical moods and more introspective lyrics, with John Lennon adopting an autobiographical perspective in compositions such as "I'm a Loser" and "No Reply". The album also reflected the twin influences of country music and Bob Dylan, whom the Beatles met in New York in August 1964.
Document 10: I Don't Want to Spoil the Party: "I Don't Want to Spoil the Party" is a song by the Beatles, written by John Lennon and credited to Lennon–McCartney. It was released on the album "Beatles for Sale" in the United Kingdom in 1964. "I Don't Want to Spoil the Party" was also released on the "Beatles for Sale (No. 2)" EP. In the United States, Capitol released the song as the B-side of the single "Eight Days a Week", and later on the "Beatles VI" album, both in 1965. The single peaked at number 1 in the US (it was not released in the UK); "I Don't Want to Spoil the Party" charted as a B-side, reaching number 39 on the "Billboard" Hot 100.
Document 11: No Reply (song): "No Reply" is a song by the English rock band the Beatles from their 1964 album "Beatles for Sale". In North America, it was issued on Capitol Records' variant on the British release, "Beatles '65". The song was written mainly by John Lennon and credited to Lennon–McCartney. Lennon originally gave the song to another artist managed by Brian Epstein, Tommy Quickly, in June 1964, but Quickly decided not to use it. The Beatles recorded the track in London soon after returning from their first full tour of the United States. The lyrics typify Lennon's more introspective and mature songwriting on the "Beatles for Sale" album.
Document 12: A Letter to the Beatles: "A Letter to the Beatles" is a novelty song by the Four Preps. It was released as a single on March 9, 1964, by Capitol Records who had both the Beatles and the Four Preps signed to their roster. The song parodies the Beatlemania of the era, telling the story of a woman who expresses her undying love for the Beatles in a series of letters, to which the Beatles respond by insisting she send "25 cents for an autographed picture" and "one dollar bill for a fan club card". In the end, the woman sends in the money. The track was co-written by two of the Four Preps, Glen Larson and Bruce Ballard and includes parts of the Beatles' song "I Want to Hold Your Hand."
Document 13: Meet the Beatles!: Meet the Beatles! is the second Beatles album released in the United States. It was the first US Beatles album to be issued by Capitol Records, on 20 January 1964 in both mono and stereo formats. It topped the popular album chart on 15 February 1964 and remained at number one for eleven weeks before being replaced by "The Beatles' Second Album". The cover featured Robert Freeman's portrait used in the United Kingdom for "With the Beatles", with a blue tint added to the original stark black-and-white photograph.
Document 14: When I'm Sixty-Four: "When I'm Sixty-Four" is a song by the Beatles, written by Paul McCartney (credited to Lennon–McCartney) and released in 1967 on their album "Sgt. Pepper's Lonely Hearts Club Band".
Document 15: Every Little Thing (Beatles song): "Every Little Thing" is a song by the English rock group the Beatles from their 1964 album "Beatles for Sale". Credited to Lennon–McCartney, it was written by Paul McCartney, although John Lennon is the more prominent lead vocalist on the recording. Rather than include the track on the North American version of "Beatles for Sale" (which was titled "Beatles '65"), Capitol Records first issued the song on the June 1965 release "Beatles VI". The track is an early example of the Beatles' use of non-rock instrumentation on a recording, through the addition of timpani drum over the choruses.
ground_truth: I Don't Want to Spoil the Party