Rosetta Problems

Self-contained

https://atcoder.jp/contests/jag2018summer-day2/tasks/jag2018summer_day2_e