srm617 div2 easy and medium