Add solution to the problem 28.