 Once Ringo Starr (qv)s line "A Hard Days Night" was confirmed as  the movies title, it was put to music by John Lennon and Paul  McCartney with participation of George Harrison and Ringo Starr.  The Beatles (qv) collectively composed the song that same night,  playing it the next morning to producer Walter Shenson in their  dressing room.