Rosetta Problems

高橋くんの苦悩

https://atcoder.jp/contests/abc015/tasks/abc015_4