AOJ solved