uses crt;var s,i:integer;a:array[1..1000] of integer;begins:=0;for i:=1 to 1000 dobegin
a[i]:=i;if ((a[i] = i ) and ( a[i] mod 7 = 0)) theninc(s);
end;
writeln(s);readln;end.
uses crt;
var s,i:integer;
a:array[1..1000] of integer;
begin
s:=0;
for i:=1 to 1000 do
begin
a[i]:=i;
if ((a[i] = i ) and ( a[i] mod 7 = 0)) then
inc(s);
end;
writeln(s);
readln;
end.