Rosetta Problems

Remembering the Days

https://atcoder.jp/contests/abc317/tasks/abc317_c