Paul McCartney and John Lennon wrote a number of songs that were recorded by other artists in the 1960s