var
m,s,c,ans,i,j,t:longint;
a,b:array [1..200] of longint;
begin
assign(input,'barn1.in');reset(input);
assign(output,'barn1.out');rewrite(output);
readln(m,s,c);
if m>c then m:=c;
for i:=1 to c do readln(a[i]);
for i:=1 to c-1 do
for j:=i+1 to c do
if a[i]>a[j] then begin
t:=a[i];
a[i]:=a[j];
a[j]:=t;
end;
for i:=2 to c do
b[i]:=a[i]-a[i-1];
for i:=1 to c-1 do
for j:=i+1 to c do
if b[i]<b[j] then begin
t:=b[i];
b[i]:=b[j];
b[j]:=t;
end;
ans:=a[c]-a[1]+1;
for i:=1 to m-1 do
ans:=ans-b[i]+1;
writeln(ans);
close(input);
close(output);
end.