import strutils, sequtils, math proc solve() = var N = stdin.readLine.parseInt X = stdin.readLine.split.map(parseInt) Y = stdin.readLine.split.map(parseInt) var d_max = 10 ^ 7 for i in 0..