import sequtils,strutils,algorithm,math,future,macros 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.." .} proc scan1[T](): T = var minus = false result = 0 while true: var k = getchar_unlocked() if k == '-' : minus = true elif k < '0' or k > '9': break else: result = 10 * result + k.ord - '0'.ord if minus: result *= -1 macro scanints(cnt:static[int]): auto = result = nnkBracket.newNimNode for i in 0..