Rosetta Problems

VS AtCoder(★6)

https://atcoder.jp/contests/typical90/tasks/typical90_ae