Rosetta Problems

ボディーガード (Bodyguard)

https://atcoder.jp/contests/joisc2021/tasks/joisc2021_i