Rosetta Problems

勇者ビ太郎 3 (Bitaro the Brave 3)

https://atcoder.jp/contests/joisp2025/tasks/joisp2025_g