시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 128 MB148065852253.320%

## 문제

N(1 ≤ N ≤ 50,000)개의 점들이 있을 때, 최대 L1-metric 거리를 찾으시오.

두 점의 좌표가 (a, b), (c, d)일 때, 두 점의 L1-metric 거리는 |a-c|+|b-d|이다.

## 입력

첫째 줄에 N이 주어진다. 다음 N개의 줄에는 각 점의 x, y좌표가 주어진다. 각 좌표의 범위는 -1,000,000이상 1,000,000이하이다.

## 출력

첫째 줄에 최대 거리를 출력한다.

## 예제 입력 1

5
1 1
3 5
2 7
8 1
4 4


## 예제 출력 1

12

W3sicHJvYmxlbV9pZCI6IjIzODEiLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiJcdWNkNWNcdWIzMDAgXHVhYzcwXHViOWFjIiwiZGVzY3JpcHRpb24iOiI8cD5OKDEgJmxlOyBOICZsZTsgNTAsMDAwKVx1YWMxY1x1Yzc1OCBcdWM4MTBcdWI0ZTRcdWM3NzQgXHVjNzg4XHVjNzQ0IFx1YjU0YywgXHVjZDVjXHViMzAwIEwxLW1ldHJpYyBcdWFjNzBcdWI5YWNcdWI5N2MgXHVjYzNlXHVjNzNjXHVjMmRjXHVjNjI0LjxcL3A+XHJcblxyXG48cD5cdWI0NTAgXHVjODEwXHVjNzU4IFx1Yzg4Y1x1ZDQ1Y1x1YWMwMCAoYSwgYiksIChjLCBkKVx1Yzc3YyBcdWI1NGMsIFx1YjQ1MCBcdWM4MTBcdWM3NTggTDEtbWV0cmljIFx1YWM3MFx1YjlhY1x1YjI5NCB8YS1jfCt8Yi1kfFx1Yzc3NFx1YjJlNC48XC9wPlxyXG4iLCJpbnB1dCI6IjxwPjxtZXRhIGNoYXJzZXQ9XCJ1dGYtOFwiPlx1Y2NhYlx1YzlmOCBcdWM5MDRcdWM1ZDAgTlx1Yzc3NCBcdWM4ZmNcdWM1YjRcdWM5YzRcdWIyZTQuIFx1YjJlNFx1Yzc0YyBOXHVhYzFjXHVjNzU4IFx1YzkwN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