the song was written by paul mccartney and it's attributed to lennon mccartney