


Where distance between two points (x1, y1) and (x2, y2) is calculated as [(x1 - x2) ^ 2] + [(y1 - y2) ^ 2].
The first line contains a single integer 'N' denoting the number of points.
The next 'N' lines contain two integers separated by a single space, where the first integer represents the x coordinate and the second integer represents the y coordinate.
The only line contains the minimum distance between the 'N' points.
You do not need to print anything, it has already been taken care of. Just implement the given function.
2 <= 'N' <= 10^5
-10^5 <= 'x' <= 10^5
-10^5 <= 'y' <= 10^5
Time Limit: 1 sec
We will use the Divide and Conquer Algorithm