add 51 solution