Solved problem 41
Solved problem 49