var
len,i:integer;
st:string;
c:char;
ar:array['а'..'я'] of integer;
begin
readln(st);
for i:=1 to length(st) do begin
if (st[i] in ['а'..'я']) then inc(ar[st[i]]);
if (st[i] <> ' ') then inc(len);
if (st[i] = 'ё') then inc(yo);
end;
for c:='а' to 'я' do
if (ar[c] <> 0) then writeln(c,'- ',ar[c], ' ч.у - ',ar[c]/len:1:2);
if (yo <> 0) then writeln('ё', '- ', yo, ' ч.у - ', yo / len:1:2);
end.