a=input() d={} for i in a: if i in d: d[i]=d[i]+1 else: d[i]=1 print(d)
To embed this program on your website, copy the following code and paste it into your website's HTML: