Most of the songs on the album A Hard Days Night
are John Lennon compositions. Lennon helped out with the middle part of this song, but it's mostly the work of McCartney. Structurally, the song is fairly conventional, with a clear melody in A+A+B+A system similar to popular music from the '30s that Irving Berlin wrote.
Johan Cavalli, a music historian in Stockholm