Rosetta Problems

Takahashi Number(★6)

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