Rosetta Problems

末尾の文字 (Last Letter)

https://atcoder.jp/contests/joig2023-open/tasks/joig2023_a