Written by Paul McCartney and recorded by The Beatles in July 1968, the song was influenced by Ska music.