Rosetta Problems

Trump Card of the Cooking Battle

https://atcoder.jp/contests/awc0176/tasks/awc0176_e