AOJ 10000: Accepted