How long was mash on the air for?

MASH was on the air from 1972 to 1983.