Add solution for problem 26