Program z1;
uses crt;
var n,m,kd,i,j,s: integer;
begin repeat write('n=');readln(n);
Write('m='); readln(m);
until (nfor i:=n to m do
begin
kd:=0;
for j:=2to i div2do
if i mod j=0then inc(kd);
if kd=0then
begin
write(i,' ');inc(s);
end;
end;
writeln;
writeln('Всего ',s); end.