시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 512 MB78131321.667%

문제

There are two giant mini market companies in Indonesia, Amart (ACMmart) and Imart (ICPCmart).

There are N points in Indonesia aligned from left to right. The leftmost point is numbered 1 and the rightmost point is numbered N. In each point there is exactly one person. The distance from point i to point j is |i - j|.

There are exactly M Amarts and K Imarts in Indonesia. Every person will go to his/her nearest mini market. If the nearest Amart and the nearest Imart has the same distance from him/her, he/she will go to Imart.

At the end of the day, the number of visitors of Amart is the total number of people that go to any Amart on that day. Similarly, the number of visitors of Imart is the total number of people that go to any Imart on that day.

The i-th Amart is located on point Ai. You want to choose where to put the K Imarts such that the number of visitors of Imart is maximized. There might be more than one mini market on one point.

The story of this problem is actually inspired from real-life events. While the brand names in this problem are fictitious, any apparent similarity with the real-life brand names might not be purely coincidental.

입력

The first line contains three integers: N M K (1 ≤ KN ≤ 2,000,000,000; 1 ≤ M ≤ 100,000) in a line denoting the number of points, the number of Amarts, and the number of Imarts. The next line contains M integers: A1, A2, ..., AM (1 ≤ AiN) denoting the position of the Amarts.

출력

The output contains the maximum number of visitors of Imart, in a single line.

예제 입력 1

5 3 1
1 3 5

예제 출력 1

3

On the first sample, you can put the Imart on point 3. The person on point 2, 3, and 4 will visit the Imart.

예제 입력 2

5 3 2
1 3 5

예제 출력 2

4

On the second sample, you can put the Imart on point 1 and point 5. The person on point 1 and 2 will visit the Imart on point 1, while the person on point 4 and 5 will visit the Imart on point 5.