Problem: Sereja placed n points on a plane. Now Sereja wants to place on the plane two straight lines, intersecting at a right angle, so that one of the straight lines intersect the Ox axis at an angle of 45 degrees and the maximum distance from the points to the straight lines were minimum. 

In this problem we consider the distance between points (x1, y1) and (x2, y2) equal |x1 - x2| + |y1 - y2|. The distance between the point and the straight lines is the minimum distance from the point to some point belonging to one of the lines.

Help Sereja, find the maximum distance from the points to the optimally located straight lines.

Input

The first line contains integer n (1 ≤ n ≤ 105). Next n lines contain the coordinates of the lines. The i-th line contains two integers xi, yi (|xi|, |yi| ≤ 109).

Output

In a single line print a real number — the answer to the problem. Your answer will be considered correct iff its absolute or relative error doesn't exceed 10 - 6.

Examples

Input

4
0 0
2 0
0 2
2 2


Output

0.000000000000000


Input

4
1 0
0 1
2 1
1 2


Output

1.000000000000000

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
pair<double, double> mas[100100];
int n, inf = 2 * (1E9);
int rmqmax[100100][19], rmqmin[100100][19];
inline int bin2(int st, int fin, double br) {
  if (st == fin) return st;
  int med = (st + fin) / 2;
  if (mas[med].first <= br)
    return bin2(med + 1, fin, br);
  else
    return bin2(st, med, br);
}
inline double findmin(int st, int fin) {
  int up;
  for (up = 18; up >= 0; up--)
    if ((1 << up) <= fin - st + 1) break;
  return min(rmqmin[st][up], rmqmin[fin - (1 << up) + 1][up]);
}
inline double findmax(int st, int fin) {
  int up;
  for (up = 18; up >= 0; up--)
    if ((1 << up) <= fin - st + 1) break;
  return max(rmqmax[st][up], rmqmax[fin - (1 << up) + 1][up]);
}
inline bool ok(double x) {
  for (int i = 1; i <= n; i++) {
    int pos = bin2(i, n + 1, mas[i].first + 2.0 * x);
    double mint = 1. * inf + inf, maxt = -1. * inf - inf;
    if (i == 1 && pos == n + 1) return 1;
    if (i > 1) mint = findmin(1, i - 1), maxt = findmax(1, i - 1);
    if (pos < n + 1)
      mint = min(mint, findmin(pos, n)), maxt = max(maxt, findmax(pos, n));
    if (maxt - mint <= 2.0 * x) return 1;
    while (mas[i + 1].first == mas[i].first) i++;
  }
  return 0;
}
inline double bin(double st, double fin, int it) {
  if (it > 55) return (st + fin) * 0.5;
  double med = (st + fin) * 0.5;
  if (ok(med))
    return bin(st, med, it + 1);
  else
    return bin(med, fin, it + 1);
}
int main() {
  cout << fixed << setprecision(10);
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) {
    scanf("%lf%lf", &mas[i].first, &mas[i].second);
    pair<int, int> nw;
    nw.first = mas[i].first + mas[i].second;
    nw.second = mas[i].first - mas[i].second;
    mas[i] = nw;
  }
  sort(mas + 1, mas + n + 1);
  mas[n + 1].first = inf + inf + inf;
  for (int i = n; i > 0; i--) {
    rmqmin[i][0] = rmqmax[i][0] = mas[i].second;
    for (int j = 1; (i + (1 << j) - 1) <= n; j++)
      rmqmin[i][j] = min(rmqmin[i][j - 1], rmqmin[i + (1 << (j - 1))][j - 1]),
      rmqmax[i][j] = max(rmqmax[i][j - 1], rmqmax[i + (1 << (j - 1))][j - 1]);
  }
  cout << bin(0.0, 1.0 * inf, 0) << endl;
  return 0;
}