Add solution to 040