Rosetta Problems

カフェ

https://atcoder.jp/contests/past17-open/tasks/past17_j