# after pdf explanation
n = gets.strip.to_i
wx = zx = 0
wn = zn = 1000000001
n.times do
  x,y = gets.strip.split.map(&:to_i)
  z = x + y
  w = x - y
  zx = z if z > zx
  zn = z if z < zn
  wx = w if w > wx
  wn = w if w < wn
end
p [zx-zn,wx-wn].max