Rosetta Problems

Multiple Bonus

https://atcoder.jp/contests/awc0032/tasks/awc0032_e