Rosetta Problems

たのしいカードゲーム (Card Game is Fun)

https://atcoder.jp/contests/joi2012ho/tasks/joi2012ho2