Solved through problem 25