The city of Osijek has recently been plagued by a swarm of mosquitoes. The solution to this problem was proposed long ago by Mr. Perić, a brave inventor from Benkovci, in an episode of the TV-show Gitak called "Globalno sjelo". Among other inspiring inventions, he presented a mosquito trap. It is basically a box which you cover the mosquito after it falls for the piece of cheese or "kajmak" you placed there, depending on what your mosquitoes prefer. Simple, isn't it?
If you're lucky, the box can cover more than one mosquito. You have spotted
Input
The first line of input contains the integer
Each of the following
Output
The first and only line of output must contain the required area of the smallest square-shaped box (expressed, of course, in unit squares of the aforementioned coordinate system).
Sample Input 1
3
3 4
5 7
4 3
Sample Output 1
16
Explanation for Sample 1
A square with vertices
Sample Input 2
4
1 5
5 1
10 5
5 10
Sample Output 2
81
Comments