const
maxnum=30;
var
n,i,x:longint;
data:array[0..maxnum] of longint;
begin
assign(input,'freq.in');
reset(input);
assign(output,'freq.out');
rewrite(output);
fillchar(data,sizeof(data),0);
readln(n);
for i:=1 to n do
begin
readln(x);
inc(data[x]);
end;
for i:=1 to 30 do
begin
write(i,':');
writeln((data[i]*100) / (n):0:1,'%' );
end;
close(input);
close(output);
end.