Question: what song did paul mccartney wrote for julian lennon
Answer: `` Hey Jude '' is a song by the English rock band the Beatles , written by Paul McCartney and credited to Lennon -- McCartney .