uses crt;
var n,i,dem:integer;
a,vt:array[1..100]of integer;
begin
clrscr;
write('n='); readln(n);
for i:=1 to n do
begin
write('a[',i,']='); readln(a[i]);
end;
{------------------------xu-ly-----------------------}
dem:=0;
for i:=1 to n do
if a[i]=10 then
begin
inc(dem);
vt[dem]:=i;
end;
writeln('vi tri cua cac phan tu co gia tri bang 10 trong day la: ');
for i:=1 to dem do
write(vt[i]:4);
readln;
end.