Rosetta Problems

焼肉の達人

https://atcoder.jp/contests/code-festival-2015-final-open/tasks/codefestival_2015_final_h