var n,d,a,s,k,i: integer;
begin
readln(n,d);
s:=0; k:=0;
for i:=1 to n do
readln(a);
if a>d then begin s:=s+a; k:=k+1; end;
end;
writeln(s/k);
end.
var n,d,a,s,k,i: integer;
begin
readln(n,d);
s:=0; k:=0;
for i:=1 to n do
begin
readln(a);
if a>d then begin s:=s+a; k:=k+1; end;
end;
writeln(s/k);
end.