Var summa,k,i:integer; nechet:boolean;begin summa:=0; for i:=2 to 77 do begin nechet:=true; for k:=2 to trunc(sqrt(i)) do begin if i mod k = 0 then begin nechet:=false; break; end; end; if nechet then Summa:=summa + sqr(i) end; writeln('Summa=',Summa); end.
end.