uses crt;
var a: array[1..100] of integer;
i,n,x,d,t: integer;
begin
t:=1;
clrscr;
write ('nhap n: '); readln (n);
write ('nhap x: '); readln (x);
for i:=1 to n do
begin
write ('nhap phan tu thu ',i,': '); readln (A[i]);
if a[i]>x then d:=d+1;
end;
writeln ('trong day co ',d,' phan tu lon hon ',x);
write ('cac phan tu lon hon ',x,': ');
for i:=1 to n do if a[i]>x then begin write (a[i],' '); t:=t*a[i]; end;
writeln ('tich la: ',t);
readln;
end.