s=open(0).read() for i in range(26):print(s.count(chr(i+65)),end="")