srm_577_div2_250 a simple solution to remove duplicate