problem 609 div2