Rosetta Problems

I prefer ISCT

https://atcoder.jp/contests/ttpc2024_2/tasks/ttpc2024_2_f