Question: who wrote what would you do if i sang out of tune
Answer: `` With a Little Help from My Friends '' is a song by the Beatles , written by John Lennon and Paul McCartney from the album Sgt .