def dist(a, b):
    return sum((i-j)**2 for i, j in zip(a, b))
def _get(delta, start):
            p = start
            while delta:
                p = p.next
                delta -= 1
            return p.val