#include <bits/stdc++.h>
using namespace std;
int N;
int main() {
  scanf("%d", &N);
  int a = -0xFFFFFFF, b = -0xFFFFFFF, c = -0xFFFFFFF, d = -0xFFFFFFF;
  for (int i = 1; i <= N; i++) {
    int x, y;
    scanf("%d%d", &x, &y);
    a = (a > x + y ? a : x + y);
    b = (b > -x + y ? b : -x + y);
    c = (c > -x - y ? c : -x - y);
    d = (d > x - y ? d : x - y);
  }
  printf("%d\n", a + b + c + d + 4);
  return 0;
}
