Solve AOJ1187
Solve AOJ2006
Solve AOJ2018
Solve AOJ2252
Solve AOJ2149