It was composed mainly by John Lennon with input from Paul McCartney and credited to Lennon\/McCartney .
It was composed by John Lennon . The song is credited to Lennon\/McCartney .