Rosetta Problems
← atcoder に戻る
Lovely Language Model
https://atcoder.jp/contests/ahc047/tasks/ahc047_a