Rosetta Problems

Two Abbreviations

https://atcoder.jp/contests/agc028/tasks/agc028_a