Rosetta Problems

Third from Front

https://atcoder.jp/contests/past202104-open/tasks/past202104_e