Solve AOJ1155
Solve AOJ2401