1 Задача:
const
n=99;
var
ch:integer;
i:integer;
a:array[1..n] of integer;
begin
for i:=1 to n do readln(a);
readln(ch);
for i:=1 to n do if ch=a[i] then writeln(i);
end;
2 Задача:
var
a,b,c,i,n: integer;
begin
write('n = ');
readln(n);
a := 0;
write(a,' ');
b := 1;
write(b,' ');
for i:=3 to n do
begin
write(a+b,' ');
c := b;
b := a + b;
a := c;
end;
readln;
end.