srm612 div1 900 arithmetic sequence