Who encouraged Lennon and McCartney to write a song ?
Between 1962 and 1969 , the partnership published approximately 180 jointly credited songs , of which the vast majority were recorded by the Beatles , forming the bulk of their catalogue .