Var
a: array [1..10] of integer;
i, k, max: integer;
begin
k:=1;for i:=1 to 10 do
begin
a[i]:=random(3)+10;
writeln('a[', i, '] = ', a[i]);
end;
for i:=1 to 9 do
begin
if a[i]=a[i+1] then
k:=k+1
else
begin
if k>max then max:=k;
k:=1;
end;
end;
writeln(max);
end.