Solutions for problem 28