Interrelation between stress and types of declension in the history of the Mari languages