solve 39
solve 40