#!/usr/bin/env ruby

N = gets.chomp.to_i

X = []
Y = []

minx = 2 ** 6
miny = 2 ** 6
maxx = -2 ** 6
maxy = -2 ** 6

def min(x, y)
  x > y ? y : x
end

def max(x, y)
  x < y ? y : x
end

N.times do |i|
  x, y = gets.chomp.split.map(&:to_i)
  x0 = (x - y).abs
  y0 = (x + y).abs

  minx = min(x0, minx)
  miny = min(y0, miny)

  maxx = max(x0, maxx)
  maxy = max(y0, maxy)
end

puts [maxx - minx, maxy - miny].max
