598 div2 250 problem