N = gets.to_i
C = N.times.map { gets.split.map(&:to_i) }

max_z = -Float::INFINITY
min_z = Float::INFINITY
max_w = -Float::INFINITY
min_w = Float::INFINITY

C.each do |x, y|
  z = x + y
  w = x - y

  max_z = z if max_z < z
  min_z = z if min_z > z
  max_w = w if max_w < w
  min_w = w if min_w > w
end

puts [max_z - min_z, max_w - min_w].max
