Question: What part did Mozart and Beethoven often improvise?

Is "During the classical era, Mozart and Beethoven often improvised the cadenzas to their piano concertos (and thereby encouraged others to do so), but they also provided written cadenzas for use by other soloists." the correct answer?
yes