import sequtils, strutils let t = stdin.readline.split.map(parseInt) (N, M) = (t[0], t[1]) A = stdin.readline.split.mapIt(it.parseInt-1) var cards = newSeq[int](N) for i in 0..