<P> As time went on, the songs increasingly became the work of one writer or the other, often with the partner offering up only a few words or an alternative chord . "A Day in the Life" is a notable and well - known example of a later Beatles song that includes substantial contributions by both Lennon and McCartney, where a separate song fragment by McCartney ("Woke up, fell out of bed, dragged a comb across my head ...") was used to flesh out the middle of Lennon's composition ("I read the news today, oh boy ..."). "Hey Jude" is another example of a later McCartney song that had input from Lennon: while auditioning the song for Lennon, when McCartney came to the lyric "the movement you need is on your shoulder," McCartney assured Lennon that he would change the line--which McCartney felt was nonsensical--as soon as he could come up with a better lyric . Lennon advised McCartney to leave that line alone, saying it was one of the strongest in the song . </P> <P> When McCartney and Lennon met as teenagers and began writing songs together, they agreed that all songs written by them (whether individually or jointly) should be credited to both of them . The precise date of the agreement is unknown; however, Lennon spoke in 1980 of an informal agreement between him and McCartney made "when we were fifteen or sixteen". Two songs written (primarily by Lennon) in 1957, "Hello Little Girl" and "One After 909", were credited to the partnership when published in the following decade . The earliest Beatles recording credited to Lennon--McCartney to be officially released is "You'll Be Mine", recorded at home in 1960 and included on Anthology 1 35 years later . </P> <P> Some other compositions from the band's early years are not credited to the partnership . "In Spite of All the Danger", a 1958 composition that the band (then The Quarrymen) paid to record to disc, is attributed to McCartney and George Harrison . "Cayenne", recorded at the same time as "You'll Be Mine", is a solo McCartney composition . "Cry for a Shadow", recorded during the Beatles' sessions with Tony Sheridan in June 1961, was written by Lennon and Harrison . </P> <P> By 1962, the joint credit agreement was in effect . From the time of the Beatles' first A&R audition in January that year, until Lennon's announcement in September 1969 that he was leaving the band, virtually all songs by McCartney or Lennon were published with joint credit . The only exceptions were a handful of the McCartney compositions released by other artists (viz . "Woman" by Peter and Gordon in 1966, "Cat Call" by Chris Barber in 1967, and "Penina" by Carlos Mendes in 1969). </P>

Who wrote more songs john lennon or paul mccartney