import strutils, sequtils, algorithm, future {.warning[SmallLshouldNotBeUsed]: off.} when isMainModule: var n = stdin.readLine.parseInt m = n div 2 a = newSeq[int](n) b = newSeq[int](n) for i in 0..