Paul McCartney dreamed the melody of "Yesterday" one night and immediately wrote the music the next morning. He then looked around for a month to find out whether or not he plagiarized it from someone else.