Rosetta Problems

Diverge and Converge

https://atcoder.jp/contests/ttpc2024_1/tasks/ttpc2024_1_g