uses crt;
var a:array[1..99]of integer;
i,n,k:integer;
begin
clrscr;
write('Nhap n='); readln(n);
for i:=1 to n do
begin
write('A[',i,']='); readln(a[i]);
end;
write('Nhap k='); readln(k);
write('Vi tri cac phan tu cua day A co gia tri bang ',k,' la: ');
for i:=1 to n do
if a[i]=k then write(i:4);
readln;
end.