Add solution to 1.38-39