Rosetta Problems

Get More Money(★7)

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