Initial solution for problem 15