add 1014 solution