1969 song that went to # 4 in the UK and # 7 in the US. Written by Paul McCartney for the 1969 film The Magic Christian.

source