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 x:T var k:char var minus = false x = 0 while true: k = getchar_unlocked() if k == '-' : minus = true elif k < '0' or k > '9': break else: x = 10 * x + k.ord - '0'.ord if minus: x *= -1 return x macro scanints(cnt:static[int]): auto = result = nnkBracket.newNimNode for i in 0..