Rosetta Problems

Sequence and Function

https://atcoder.jp/contests/past202212-open/tasks/past202212_n