Solve AJ2199
Solve AOJ1144