Rosetta Problems

クリスマスパーティー (Christmas Party)

https://atcoder.jp/contests/joi2015yo/tasks/joi2015yo_b