program ed;
const maxn=10000;
var i,k,x,y:integer;
f:text;
a:array[0..maxn] of integer;
Begin assign(f,'test.txt');
reset(f);
readln(f,x,y);
while not eof(f) do begin read(f,k);
inc(a[k-x]);
end;
close(f);
for i:=0 to y-x do writeln('chislo',i+x,'vstrechalos v massive',a[i],'raz.');
readln;
End.