Rosetta Problems

I Love Marathon Contest

https://atcoder.jp/contests/utpc2023/tasks/utpc2023_i