add 39 solution