Rosetta Problems

除夜の鐘

https://atcoder.jp/contests/past16-open/tasks/past202309_j