592_div2 problem 1