AOJ 2306: Accepted