AOJ206,207 solve