Rosetta Problems

換金

https://atcoder.jp/contests/past17-open/tasks/past17_c