problem 24
problem 25