refine this program to reproduce when 2 equal inputs for unjudged add function