program bai1;
var n,i:longint;
begin
write('N= ');readln(n);
for i:=1 to n do
if i mod 5=0 then writeln(i,' ');
readln
end.
program bai1;
var n,i:longint;
begin
write('N= ');readln(n);
for i:=1 to n do
if i mod 5=0 then writeln(i,' ');
readln
end.
program bai1;
var n,i:longint;
begin
write('N= ');readln(n);
for i:=1 to n do
if i mod 5=0 then writeln(i,' ');
readln
end.