Rosetta Problems

カードゲーム 4 (Card Game 4)

https://atcoder.jp/contests/joig2025-open/tasks/joig2025_a