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;
char buff[(int)2e6 + 17];
const long long inf = (long long)1e9 + 7ll;
const int maxn = (int)2e5 + 17;
struct pt {
  int x, y;
  pt() {}
};
struct cond {
  double l1, r1, l2, r2;
  cond() {}
};
int n;
pt p[maxn];
cond t[maxn];
double pref_L[maxn], pref_R[maxn], suff_L[maxn], suff_R[maxn];
bool read() {
  if (scanf("%d", &n) != 1) return false;
  for (int i = 0; i < n; ++i) scanf("%d %d", &p[i].x, &p[i].y);
  return true;
}
bool cmp(pt a, pt b) { return a.y - a.x < b.y - b.x; }
bool check(double d) {
  d *= sqrtl(2.0);
  for (int i = 0; i < n; ++i) {
    t[i].l1 = p[i].y + d - p[i].x;
    t[i].r1 = p[i].y - d - p[i].x;
    if (t[i].l1 > t[i].r1) swap(t[i].l1, t[i].r1);
    t[i].l2 = p[i].y + (p[i].x + d);
    t[i].r2 = p[i].y + (p[i].x - d);
    if (t[i].l2 > t[i].r2) swap(t[i].l2, t[i].r2);
  }
  pref_L[0] = t[0].l2;
  pref_R[0] = t[0].r2;
  for (int i = 1; i < n; ++i) {
    pref_L[i] = max(t[i].l2, pref_L[i - 1]);
    pref_R[i] = min(t[i].r2, pref_R[i - 1]);
  }
  suff_L[n - 1] = t[n - 1].l2;
  suff_R[n - 1] = t[n - 1].r2;
  for (int i = n - 2; i >= 0; --i) {
    suff_L[i] = max(t[i].l2, suff_L[i + 1]);
    suff_R[i] = min(t[i].r2, suff_R[i + 1]);
  }
  if (pref_L[n - 1] <= pref_R[n - 1]) return true;
  for (int r = 0, l = 0; r < n; ++r) {
    for (; l < r && t[l].r1 < t[r].r1 - 2 * d; ++l)
      ;
    if (l == 0 && r == n - 1) return true;
    double L = -20.0 * inf, R = 20.0 * inf;
    if (l > 0) {
      L = max(L, pref_L[l - 1]);
      R = min(R, pref_R[l - 1]);
    }
    if (r < n - 1) {
      L = max(L, suff_L[r + 1]);
      R = min(R, suff_R[r + 1]);
    }
    if (L <= R) return true;
  }
  return false;
}
void solve() {
  sort(p, p + n, cmp);
  double l, r;
  int t;
  for (l = 0, r = 4.0 * inf, t = 0; l + 1e-9 < r && t < 100; ++t) {
    auto m = (l + r) / 2;
    if (check(m))
      r = m;
    else
      l = m;
  }
  printf("%.10f\n", l * static_cast<double>(sqrtl(2.0)));
}
int main() {
  while (read()) solve();
  return 0;
}