n = gets.to_i

x, y = gets.split(" ").map(&:to_i)
z = x + y
w = x - y
arr = [z, z, w, w]

(n - 1).times do
  x, y = gets.split(" ").map(&:to_i)
  z = x + y
  w = x - y

  arr[0] = z if z < arr[0]
  arr[1] = z if arr[1] < z
  arr[2] = w if w < arr[2]
  arr[3] = w if arr[3] < z
end

puts [arr[1] - arr[0], arr[3] - arr[2]].max
