Input (grade 12): A substratum is a language which is influenced by another, while a superstratum is the language that exerts the influence.
Output (grade 8): A substratum is the language which is changed, and a superstratum is the language which changes it.