END { load __FILE__ unless $stdin.eof? }

n = gets.to_i
points = Array.new(n) { gets.split.map!(&:to_i) }

s_min, s_max = points.map { |x, y| x - y }.minmax
t_min, t_max = points.map { |x, y| x + y }.minmax

puts [s_max - s_min, t_max - t_min].max
