problem 604 div2