program dem_so_chia_het_cho_5;
uses crt;
var
N, count, i: integer;
begin
clrscr;
write('Nhap so nguyen N: ');
readln(N);
count := 0;
for i := 1 to N do
begin
if (i mod 5 = 0) then
begin
count := count + 1;
end;
end;
writeln('Co ', count, ' so nguyen chia het cho 5 tu 1 den ', N);
readln;
end.