srm485 div1 250 arithmetic progression