program MultiplesOf3And5;
vari: integer;
beginfor i := 1 to 1000 dobeginif (i mod 3 = 0) and (i mod 5 = 0) thenwriteln(i);end;end.
program MultiplesOf3And5;
var
i: integer;
begin
for i := 1 to 1000 do
begin
if (i mod 3 = 0) and (i mod 5 = 0) then
writeln(i);
end;
end.