Rosetta Problems

Order of Dishes

https://atcoder.jp/contests/awc0168/tasks/awc0168_e