No.006 A

setIntersection で積集合の大きさを計算し, 場合分けする.