import strutils let read = iterator: string {.closure.} = while true: for s in stdin.readLine.split: yield s proc main() = let n = read().parseInt type P = tuple[x, y: int] var pts = newSeq[P]() for i in 0..