Add solution 40