Rosetta Problems

Business Simulation Game

https://atcoder.jp/contests/ahc029/tasks/ahc029_a