Program hotrotinhoc;
var i,n: ineger;
s: real;
begin
s:=0;
write('Nhap so nguyen :'); readln(n);
if n<>0 then s:=s+1/n;
while n<>0 do
begin
write('Nhap so nguyen :'); readln(n);
if n<>0 then s:=s+1/n;
end;
write(Tong cac so nghich dao la : ',s);
readln
end.