var i,s:integer;begin s:=0; for i:=0 to 100 do begin if (i mod 4 = 0) then for i:=0 to 100 do if (i mod 10=2) or (i mod 10=8) then s:=s+i;; write('Summa = ',s); end;end.
var
i,s:integer;
begin
s:=0;
for i:=0 to 100 do begin
if (i mod 4 = 0) then for i:=0 to 100 do
if (i mod 10=2) or (i mod 10=8) then s:=s+i;;
write('Summa = ',s);
end;
end.