import sequtils,strutils,algorithm,math,sugar,macros,strformat template get*():string = stdin.readLine().strip() macro unpack*(arr: auto,cnt: static[int]): auto = let t = genSym(); result = quote do:(let `t` = `arr`;()) for i in 0..= xy[0] and ab[1] <= xy[1] : res[i] += 1 let maxRes = res.max() if maxRes == 0: quit("0",0) for i,r in res: if r == maxRes: echo i + 1