Mohammed is x years old.
Jenny is 7 years older than Mohammed.
Mario is 3 times the age of Mohammed.
The total of their ages is 82.
What are their ages?