var
i,s:integer;
begin
s:=0;
for i:=20 to 60 do
if i mod 5 =0 then s:=s+i;
writeln(s);
end.
i,s:longint;
for i:=20 to 60 do if i mod 5=0 then inc(s,i);
var
i,s:integer;
begin
s:=0;
for i:=20 to 60 do
if i mod 5 =0 then s:=s+i;
writeln(s);
end.
var
i,s:longint;
begin
for i:=20 to 60 do if i mod 5=0 then inc(s,i);
writeln(s);
end.