Rosetta Problems

Second Best

https://atcoder.jp/contests/abc365/tasks/abc365_b